private void gridUsers_CellDoubleClick(object sender, ODGridClickEventArgs e) { if (_isFillingList) { return; } //Call an event that bubbles back up to the calling Form. EditUserClick?.Invoke(this, new SecurityEventArgs(SelectedUser)); }
private void butEditUser_Click(object sender, EventArgs e) { if (listUserTabUsers.SelectedIndex == -1) { MsgBox.Show(this, "Please select a User to edit."); return; } //Call an event that bubbles back up to the calling Form. EditUserClick?.Invoke(this, new SecurityEventArgs(SelectedUser)); }
private void listUserTabUsers_DoubleClick(object sender, EventArgs e) { //Call an event that bubbles back up to the calling Form. EditUserClick?.Invoke(this, new SecurityEventArgs(SelectedUser)); }