示例#1
0
        private void button2_Click(object sender, EventArgs e)
        {
            sidePanel.Height = button2.Height;
            sidePanel.Top    = button2.Top;

            if (a1 == null || a1.IsDisposed)
            {
                a1 = new AddLectures();
            }
            a1.Show();
            this.Hide();
        }
示例#2
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            AddLectures add = new AddLectures();

            add.Show();
        }
示例#3
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            AddLectures add = new AddLectures();

            add.Show();
            sidePanel.Height = button2.Height;
            sidePanel.Top    = button2.Top;
        }