/// <summary> /// GridView_KeyPress event implementation /// </summary> private void GridView_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)Keys.Return) { e.Handled = true; DataEditionActivated?.Invoke(this, new SelectionDataEventArgs(GetSelectedUsers(), MMCListAction.EditionActivated)); } }
/// <summary> /// GridView_DoubleClick event implmentation /// </summary> private void GridView_DoubleClick(object sender, EventArgs e) { DataEditionActivated?.Invoke(this, new SelectionDataEventArgs(GetSelectedUsers(), MMCListAction.EditionActivated)); }