Example #1
0
 private void OnModalDialog(ModalDialogEventArgs obj)
 {
     Invoke(() => MessageBox.Show(this, obj.DialogText, obj.OkText));
 }
Example #2
0
 private void RulesEngineModalDialog(object sender, ModalDialogEventArgs args)
 {
     if (InFullscreenMode) return;
     BuildFailedMessageBox.ShowOnce("Siren of Shame", args.DialogText, args.OkText);
 }
 private void OnModalDialogEventReceived(ModalDialogEventArgs args)
 {
     if (ModalDialog != null)
     {
         ModalDialog(args);
     }
 }