Med Popups och nytt system för släckning, men utan hantering av rätt popup

This commit is contained in:
2025-10-19 16:33:19 +02:00
parent a8ca07a1bf
commit 735788969a
6 changed files with 34 additions and 12 deletions

View File

@ -2,10 +2,11 @@
public class PopupEventHub : IPopupEventHub
{
public event EventHandler? InfoPopupCloseRequested;
public event EventHandler<PopupCloseEventArgs>? InfoPopupCloseRequested;
public void RaiseInfoPopupClose()
public void RaiseInfoPopupClose(string popupId)
{
InfoPopupCloseRequested?.Invoke(this, EventArgs.Empty);
InfoPopupCloseRequested?.Invoke(this, new PopupCloseEventArgs(popupId));
}
}