Beispiel #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            panel4.Controls.Clear();
            userlevel p1 = new userlevel();

            p1.Owner    = this;
            p1.TopLevel = false;
            panel4.Controls.Add(p1);
            p1.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            p1.Dock            = DockStyle.Fill;
            p1.Show();
            timer4.Stop();
        }
Beispiel #2
0
        private void button17_Click(object sender, EventArgs e)
        {
            panel8.Visible = false;
            panel7.Visible = false;
            panel6.Visible = false;
            button19.Font  = new Font("Palatino Linotype", button19.Font.Size, FontStyle.Bold, GraphicsUnit.Point);
            button18.Font  = new Font("Palatino Linotype", button19.Font.Size, FontStyle.Bold, GraphicsUnit.Point);
            panel4.Controls.Clear();
            userlevel p1 = new userlevel();

            p1.Owner    = this;
            p1.TopLevel = false;
            panel4.Controls.Add(p1);
            p1.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            p1.Dock            = DockStyle.Fill;
            p1.Show();
        }