private void EditingWorkForm_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e) { if (e.Control && e.KeyCode == Keys.Enter && (e.KeyCode == Keys.D1 || e.KeyCode == Keys.NumPad1)) { SelectionNomenclature?.Invoke(); } else if (e.Control && e.KeyCode == Keys.Enter && (e.KeyCode == Keys.D2 || e.KeyCode == Keys.NumPad2)) { SelectionWorkingHour?.Invoke(); } else if (e.KeyCode == Keys.Enter) { TSB_Save.PerformClick(); } else if (e.KeyCode == Keys.Escape) { Close(); } }
private void LL_WorkingHour_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { SelectionWorkingHour?.Invoke(); }