Exemplo n.º 1
0
 private void UserGrid_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     if (UserGrid.CurrentRowValue(UsersCols.AccessLevel) is int)
     {
         DisplayAccess(Convert.ToInt32(UserGrid.CurrentRowValue(UsersCols.AccessLevel)));
     }
     else
     {
         DisplayAccess(0);
     }
     SelectedRow = e.RowIndex;
 }