Nu fungerar Popupen och den går att stänga

This commit is contained in:
2025-10-17 11:52:01 +02:00
parent 21eb0d5498
commit bb8f4bd5ed
12 changed files with 272 additions and 23 deletions

View File

@ -0,0 +1,11 @@
namespace GreadyPoang.Services;
public class PopupEventHub : IPopupEventHub
{
public event EventHandler? InfoPopupCloseRequested;
public void RaiseInfoPopupClose()
{
InfoPopupCloseRequested?.Invoke(this, EventArgs.Empty);
}
}

View File

@ -0,0 +1,8 @@
namespace GreadyPoang.Services;
public interface IPopupEventHub
{
event EventHandler? InfoPopupCloseRequested;
void RaiseInfoPopupClose();
}