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

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

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

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