コード例 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            AddLectures add = new AddLectures();

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