private async void DGV_Works_MouseDoubleClick(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { await EditWork?.Invoke(); } }
private async void TSB_EditWork_Click(object sender, EventArgs e) { await EditWork?.Invoke(); }