Пример #1
0
        private void pictureBox6_Click_1(object sender, EventArgs e)
        {
            panel.Controls.Clear();
            Alterar_Aluno myForm = new Alterar_Aluno();

            myForm.FormBorderStyle = FormBorderStyle.None;
            myForm.TopLevel        = false;
            myForm.AutoScroll      = true;
            panel.Controls.Add(myForm);
            myForm.Show();
        }
Пример #2
0
        private void funcionárioToolStripMenuItem_Click(object sender, EventArgs e)
        {
            panel.Controls.Clear();
            Alterar_Aluno myForm = new Alterar_Aluno();

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