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