Ejemplo n.º 1
0
 private void lbxRoles_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (lbxRoles.SelectedItem != null)
     {
         lbxFunciones.Items.Clear();
         Herramientas.llenarListBoxFuncionesSistema(lbxFunciones, ((ItemRol)lbxRoles.SelectedItem).Id, "Buscar");
     }
 }
Ejemplo n.º 2
0
 private void FormCrear_Load(object sender, EventArgs e)
 {
     lbxFunciones.DisplayMember = "Descripcion";
     lbxFunciones.ValueMember   = "Id";
     Herramientas.llenarListBoxFuncionesSistema(lbxFunciones, 0, "Crear");
 }