Пример #1
0
        void Button12Click(object sender, EventArgs e)
        {
            FormAlumnos2 asignarcursosalumno = new FormAlumnos2(dgridalumnos.SelectedRows[0].Cells[0].Value.ToString(), dgridalumnos.SelectedRows[0].Cells[2].Value.ToString(), dgridalumnos.SelectedRows[0].Cells[3].Value.ToString(), dgridalumnos.SelectedRows[0].Cells[1].Value.ToString(), dgridalumnos.SelectedRows[0].Cells[4].Value.ToString());

            asignarcursosalumno.MdiParent = this.MdiParent;
            asignarcursosalumno.Show();
        }
Пример #2
0
        void Button4Click(object sender, EventArgs e)
        {
            FormAlumnos2 formaddcursos = new FormAlumnos2(tb0.Text, tb2.Text, tb3.Text, tb1.Text, tb4.Text);

            formaddcursos.MdiParent = this.MdiParent;
            this.Close();
            formaddcursos.Show();
        }