private void OnModalDialog(ModalDialogEventArgs obj) { Invoke(() => MessageBox.Show(this, obj.DialogText, obj.OkText)); }
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); } }