Beispiel #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            panel3a.Controls.Clear();
            TeacherList ap21 = new TeacherList();

            ap21.Dock            = DockStyle.Fill;
            ap21.TopLevel        = false;
            ap21.TopMost         = true;
            ap21.AutoScroll      = true;
            ap21.FormBorderStyle = FormBorderStyle.None;
            this.panel3a.Controls.Add(ap21);
            ap21.Show();
        }
Beispiel #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            panel3.Controls.Clear();
            TeacherList at3 = new TeacherList();

            at3.Dock            = DockStyle.Fill;
            at3.TopLevel        = false;
            at3.TopMost         = true;
            at3.AutoScroll      = true;
            at3.FormBorderStyle = FormBorderStyle.None;
            // this.pCoin.Controls.Add(a1);
            // this.panel2_Paint.Controls.Add(a1);
            this.panel3.Controls.Add(at3);

            at3.Show();
        }