public Principal(DataTable oficiales, Dictionary<string, string> carreras) { InitializeComponent(); this.oficiales = oficiales; this.controller = new Controladores.EstudianteOficial(); this.carreras = carreras; }
public Registrar(Dictionary<string, string> carreras, string operacion, Dictionary<string, string> oficial) { InitializeComponent(); this.carreras = carreras; this.operacion = operacion; this.oficial = oficial != null ? new Modelos.EstudianteOficial(oficial["ID"], oficial["grado"], oficial["nombre"], oficial["apellidoPaterno"], oficial["apellidoMaterno"], oficial["codigo"], oficial["direccion"], oficial["telefono"], oficial["IDCarrera"], oficial["ci"]) : null; this.controller = new Controladores.EstudianteOficial(); this.usuario = new Controladores.Encargado(); }
public Principal() { InitializeComponent(); this.datos = new Dictionary<string, object>(); this.controlador = new Controladores.Encargado(); this.carrera = new Controladores.Carrera(); this.curso = new Controladores.Curso(); this.estudiante = new Controladores.Estudiante(); this.oficial = new Controladores.EstudianteOficial(); this.falta = new Controladores.Falta(); this.cursoEstudiante = new Controladores.CursoEstudiantes(); this.faltasEstudiante = new Controladores.FaltasEstudiantes(); this.reportes = new Controladores.Reportes(); }
public Principal() { InitializeComponent(); this.oficial = new Controladores.EstudianteOficial(); }