Beispiel #1
0
        private void gamelvl1(object sender, EventArgs e)
        {
            GameLvl1 g = new GameLvl1(p1, p2);

            player1.Stop();
            this.Hide();
            g.Show();
        }
        private void newgame(object sender, EventArgs e)
        {
            timer1.Enabled = false;
            timer2.Enabled = false;
            GameLvl1 g = new GameLvl1(playwithkeyboard, music);

            g.Show();
            this.Hide();
        }