예제 #1
0
        private void Play_BTN_Click(object sender, EventArgs e)
        {
            PacManGameScreen newScreen = new PacManGameScreen();

            newScreen.Show();

            SoundPlayer newGameSound = new SoundPlayer(Properties.Resources.pacman_beginning);

            newGameSound.Play();
        }
예제 #2
0
        private void NewGame_BTN_Click(object sender, EventArgs e)
        {
            PacManGameScreen pmGameScreen = new PacManGameScreen();

            pmGameScreen.Show();
        }