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