Example #1
0
        private void excluirAlunoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            panel.Controls.Clear();
            Excluir_Aluno myForm = new Excluir_Aluno();

            myForm.FormBorderStyle = FormBorderStyle.None;
            myForm.TopLevel        = false;
            myForm.AutoScroll      = true;
            panel.Controls.Add(myForm);
            myForm.Show();
        }
Example #2
0
        private void pictureBox6_Click_2(object sender, EventArgs e)
        {
            panel.Controls.Clear();
            Excluir_Aluno myForm = new Excluir_Aluno();

            myForm.FormBorderStyle = FormBorderStyle.None;
            myForm.TopLevel        = false;
            myForm.AutoScroll      = true;
            panel.Controls.Add(myForm);
            myForm.Show();
        }