private void Show(INotification aNotification) { if (iNotificationView != null) { iNotificationView.Close(); } if (iOptionsDialog != null) { iOptionsDialog.Close(); } var notificationView = new NotificationView(); notificationView.Closed += (s, e) => { iNotificationView = null; }; notificationView.Launch(aNotification, this); iNotificationView = notificationView; }