void Instance_OnEventRaised(object sender, Event myEvent) { if (myEvent.Severity == Event.EventSeverity.Error) { InfoPopup errorInfo = new InfoPopup(); errorInfo.Content = myEvent ; errorInfo.IsOpen = true; } }
public void Initialize(InfoPopup infoPopup) { _infoPopup = infoPopup; }