/// <summary> /// OnInitialize method /// </summary> protected virtual void OnInitialize() { RefreshData(); if (GridView.RowCount > 0) { GridView.Rows[0].Selected = true; GridView.Rows[0].Cells[2].Selected = true; } DataSelectionChanged?.Invoke(this, new SelectionDataEventArgs(GetSelectedUsers(), MMCListAction.SelectionChanged)); }
/// <summary> /// GridView_SelectionChanged event implementation /// </summary> private void GridView_SelectionChanged(object sender, EventArgs e) { DataSelectionChanged?.Invoke(this, new SelectionDataEventArgs(GetSelectedUsers(), MMCListAction.SelectionChanged)); }
/// <summary> /// EnableDisableRows method implementation /// </summary> private void EnableDisableRows(MFAUserList registrations) { RefreshData(true); DataSelectionChanged?.Invoke(this, new SelectionDataEventArgs(GetSelectedUsers(), MMCListAction.SelectionChanged)); }