private void IncomingConfirmation(ConfirmationMessage msg) { MessageBoxResult result = MessageBox.Show(msg.Notification, Application.Current.MainWindow.GetType().Assembly.GetName().Name, MessageBoxButton.YesNo); if (result == MessageBoxResult.Yes) { msg.Execute(true); } else if (result == MessageBoxResult.No) { msg.Execute(false); } else { msg.Execute(null); } }
private void IncomingConfirmation(ConfirmationMessage msg) { msg.Execute(true); }