Exemplo n.º 1
0
        private void RegistrarEstudiantebutton_Click(object sender, EventArgs e)
        {
            rEstudiantes registro = new rEstudiantes();

            registro.ShowDialog();
            CargarGrid();
        }
Exemplo n.º 2
0
        private void AgregarEstudianteButton_Click(object sender, EventArgs e)
        {
            rEstudiantes rEstudiantes = new rEstudiantes();

            rEstudiantes.ShowDialog();

            EstudianteComboBox.Items.Clear();
            RepositorioBase <EstudianteDetalle> repositorio = new RepositorioBase <EstudianteDetalle>();

            foreach (var auxiliar in repositorio.GetList(p => true))
            {
                EstudianteComboBox.Items.Add(auxiliar.Nombres);
            }
        }