コード例 #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();
        }