Пример #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            counter = 3;
            form1 m = new form1();

            m.Show();
            this.Hide();
        }
Пример #2
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            counter = 2;
            form1 s = new form1();

            s.Show();
            this.Hide();
        }
Пример #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            counter = 1;
            form1 d = new form1();

            d.Show();
            this.Hide();
        }
Пример #4
0
        private void label1_Click(object sender, EventArgs e) // reset
        {
            Wrongs            = 0;
            pictureBox1.Image = Images[Wrongs];
            form1 NewForm = new form1();

            NewForm.Show();
            this.Dispose(false);
        }