private void EditingReasonCustomerForm_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e) { if (e.Control && e.KeyCode == Keys.Enter) { SelectionReason?.Invoke(); } else if (e.KeyCode == Keys.Enter) { TSB_Save.PerformClick(); } else if (e.KeyCode == Keys.Escape) { Close(); } }
private void LL_Reason_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { SelectionReason?.Invoke(); }