コード例 #1
0
 private void btnRoles_Click(object sender, EventArgs e)
 {
     {
         if (dtgPermisos.Rows.Count != 0 && componenteSelect != null)
         {
             ActivarRoles actRol = new ActivarRoles(componenteSelect, Session);
             actRol.ShowDialog();
         }
     }
 }
コード例 #2
0
 private void button3_Click(object sender, EventArgs e)
 {
     try
     {
         if (UsuarioSelect != null)
         {
             int          rowIndex = (int)row.Cells[0].Value;
             ActivarRoles frm      = new ActivarRoles(UsuarioSelect, session);
             frm.ShowDialog();
         }
     }
     catch (Exception)
     {
     }
 }