示例#1
0
        private void Asistencia_Load(object sender, EventArgs e)
        {
            Clases.Poblar pob = new Clases.Poblar();
            pob.IniciarTodo();

            Clases.Estudiante[] array = pob.TodosEstudiantes();

            label6.Text  = array[1].Name;
            label7.Text  = array[1].Code.ToString();
            label8.Text  = array[1].Fallas.ToString();
            label9.Text  = array[1].Horario[0];
            label10.Text = array[1].Horario[1];
            label11.Text = array[1].Horario[2];

            label17.Text = array[2].Name;
            label16.Text = array[2].Code.ToString();
            label15.Text = array[2].Fallas.ToString();
            label14.Text = array[2].Horario[0];
            label13.Text = array[2].Horario[1];
            label12.Text = array[2].Horario[2];

            label23.Text = array[3].Name;
            label22.Text = array[3].Code.ToString();
            label21.Text = array[3].Fallas.ToString();
            label20.Text = array[3].Horario[0];
            label19.Text = array[3].Horario[1];
            label18.Text = array[3].Horario[2];
        }
示例#2
0
        private void Gimnasio_Load(object sender, EventArgs e)
        {
            pob = new Clases.Poblar();

            pob.IniciarTodo();

            Clases.Estudiante[] array = pob.TodosEstudiantes();

            label3.Text  = array[1].Name;
            label8.Text  = array[1].Code.ToString();
            label10.Text = array[1].Career;
            label9.Text  = array[1].Semester.ToString();
            label11.Text = array[1].Obervaciones;

            label16.Text = array[2].Name;
            label15.Text = array[2].Code.ToString();
            label14.Text = array[2].Career;
            label13.Text = array[2].Semester.ToString();
            label12.Text = array[2].Obervaciones;

            label21.Text = array[3].Name;
            label20.Text = array[3].Code.ToString();
            label19.Text = array[3].Career;
            label18.Text = array[3].Semester.ToString();
            label17.Text = array[3].Obervaciones;
        }