Beispiel #1
0
        private void Play_Game(object sender, EventArgs e)
        {
            //creates a new level 1 form when you press play game
            Level1 Level_1 = new Level1();

            Level_1.Show();
            Level_1.Location = this.Location;
            Level_1.TopMost  = true;
            this.Hide();
        }
Beispiel #2
0
        private void Select1(object sender, EventArgs e)
        {
            //creates a new level 1 form when you select level 1 then closes the level select form
            Level1 Level_1 = new Level1();

            Level_1.Show();
            Level_1.Location = this.Location;
            Level_1.TopMost  = true;
            this.Close();
        }