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

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

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