示例#1
0
 private void btnPermisos_Click(object sender, EventArgs e)
 {
     if (dtgRoles.Rows.Count != 0 && rolSelect != null)
     {
         ActivarPermisos permisos = new ActivarPermisos(rolSelect, Session);
         permisos.ShowDialog();
     }
 }
示例#2
0
 private void btnAsignarRoles_Click(object sender, EventArgs e)
 {
     try
     {
         if (UsuarioSelect != null)
         {
             int             rowIndex = (int)row.Cells[0].Value;
             ActivarPermisos frm      = new ActivarPermisos(UsuarioSelect, session);
             frm.ShowDialog();
         }
     }
     catch (Exception)
     {
     }
 }