Beispiel #1
0
 private void ShowModelessMessage(string msgCode, string applyStr, string message)
 {
     try
     {
         base.Enabled = false;
         MessageDialog dialog = new MessageDialog();
         dialog.FormClosing += new FormClosingEventHandler(this.dialog_FormClosing);
         dialog.ShowModelessMessageDialog(msgCode, applyStr, message);
     }
     catch (Exception exception)
     {
         base.Enabled = true;
         throw exception;
     }
 }