Beispiel #1
0
 public MantenimientoCarrera(Form parent, bool admin)
 {
     InitializeComponent();
     log         = new CarreraBO();
     lista       = new List <Carrera>();
     this.parent = parent;
     adminPermisos(admin);
     elimina = new Elimina();
 }
Beispiel #2
0
 public EditaCarrera(Form parent)
 {
     InitializeComponent();
     this.parent             = parent;
     log                     = new CarreraBO();
     validar                 = new ValidaDatos();
     lblTitulo.Text          = "Carrera - Agregar";
     cmbEstado.SelectedIndex = 0;
 }
Beispiel #3
0
 public EditaCarrera(Form parent, string id)
 {
     InitializeComponent();
     this.parent    = parent;
     Id             = id;
     log            = new CarreraBO();
     validar        = new ValidaDatos();
     lblTitulo.Text = "Carrera - Editar";
     lista          = new List <Carrera>();
     cargar();
 }
 public EditaMateria(Form parent)
 {
     InitializeComponent();
     this.parent    = parent;
     lblTitulo.Text = "Materia - Agregar";
     log            = new MateriaBO();
     validar        = new ValidaDatos();
     listaCarrera   = new List <Carrera>();
     logCarrera     = new CarreraBO();
     cargarCombo();
     chkActivo.Visible = false;
     chkActivo.Checked = true;
 }
 public EditaMateria(Form parent, string idMateria)
 {
     InitializeComponent();
     this.parent    = parent;
     lblTitulo.Text = "Materia - Editar";
     log            = new MateriaBO();
     validar        = new ValidaDatos();
     listaCarrera   = new List <Carrera>();
     logCarrera     = new CarreraBO();
     listaM         = new List <Materias>();
     cargarCombo();
     chkActivo.Visible = true;
     id = idMateria;
     cargar();
 }