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