private void btnCancel_Click(object sender, EventArgs e)
 {
     try {
         fController.Cancel();
     } catch (Exception ex) {
         Logger.LogWrite("CommunicationEditDlg.btnCancel_Click(): " + ex.Message);
     }
 }
Example #2
0
 private void btnCancel_Click(object sender, EventArgs e)
 {
     DialogResult = fController.Cancel() ? DialogResult.Cancel : DialogResult.None;
 }