示例#1
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            mainpage m1 = new mainpage();

            m1.ShowDialog();
        }
示例#2
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            mainpage m1 = new mainpage();

            m1.ShowDialog();
            this.Hide();
        }
示例#3
0
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            mainpage m1 = new mainpage();

            m1.ShowDialog();
            this.Visible = false;
        }