Пример #1
0
 private void button5_Click(object sender, EventArgs e)
 {
     this.Hide();
     level = 5;
     level1 l5 = new level1();
     l5.ShowDialog();
     this.Close();
 }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            level = 2;
            level1 l2 = new level1();

            l2.ShowDialog();
            this.Close();
        }
Пример #3
0
        private void button7_Click(object sender, EventArgs e)
        {
            this.Hide();
            level = 8;
            level1 l8 = new level1();

            l8.ShowDialog();
            this.Close();
        }
        private void button4_Click(object sender, EventArgs e)
        {
            this.Hide();
            level = 11;
            level1 l11 = new level1();

            l11.ShowDialog();
            this.Close();
        }
Пример #5
0
        private void button6_Click(object sender, EventArgs e)
        {
            this.Hide();
            level = 6;
            level1 l6 = new level1();

            l6.ShowDialog();
            this.Close();
        }
        private void chose1_Click(object sender, EventArgs e)
        {
            //this openes a new level one form
            this.Hide();
            level1 fl1 = new level1();

            //timer1.Enabled = true;
            fl1.ShowDialog();
            this.Close();
        }
        private void chose2_Click(object sender, EventArgs e)
        {
            //this openes a new level one form
            this.Hide();
            //character.characterImage = Image.FromFile("object.png");
            variable1 = 1;
            level1 fl1 = new level1();

            fl1.ShowDialog();
            this.Close();
        }