예제 #1
0
 public VistaSesionesGrupo(Grupo grupo)
 {
     this.repositorioAlumno   = new RepositorioAlumno();
     this.repositorioSesiones = new RepositorioSesiones();
     this.columnas            = new List <string>();
     this.sesionesPorFecha    = new Dictionary <string, Sesion>();
     this.alumnos             = repositorioAlumno.ObtenerAlumnosDeUnGrupo(grupo.Id);
     this.sesiones            = repositorioSesiones.obtenerSesionesPorGrupo(grupo.Id);
     this.grupo = grupo;
     InitializeComponent();
     RefescarTabla();
 }
예제 #2
0
 public PaseLista(Grupo grupo)
 {
     this.grupo               = grupo;
     this.textExtractor       = new DefaultTextExtractor(1);
     this.repositorioAlumno   = new RepositorioAlumno();
     this.repositorioSesiones = new RepositorioSesiones();
     this.tableLabels         = new List <Label>();
     this.tableButtons        = new List <Button>();
     this.alumnosPresentes    = new Dictionary <string, Alumno>();
     this.alumnosAusentes     = new Dictionary <string, Alumno>();
     this.labelMap            = new Dictionary <string, Label>();
     this.nameTokensMap       = new Dictionary <string, string[]>();
     this.labelWidth          = 780;
     this.labelHeight         = 24;
     InitializeComponent();
     CargarAlumnos();
     PintarAlumnos();
     textExtractor.StartWorking();
 }