Exemplo n.º 1
0
        void Button5Click(object sender, EventArgs e)
        {
            bool         editar     = false;
            string       ideditar   = "";
            FormAlumnos1 formalumno = new FormAlumnos1(editar, ideditar);

            formalumno.MdiParent = this.MdiParent;
            this.Close();
            formalumno.Show();
        }
Exemplo n.º 2
0
        void Button6Click(object sender, EventArgs e)
        {
            bool         editar     = true;
            string       ideditar   = dgridalumnos.SelectedRows[0].Cells[0].Value.ToString();
            FormAlumnos1 formalumno = new FormAlumnos1(editar, ideditar);

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