Пример #1
0
        private void restartButton_Click(object sender, EventArgs e)
        {
            Easy ea = new Easy();

            ea.Show();
            Hide();
            winSound.Stop();
            crowd.Play();
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            System.Media.SoundPlayer player1 = new System.Media.SoundPlayer(@"C:\Users\FOladiji\Engineering45\WEEK3\Day5\Same Old Story.wav");
            player1.Stop();

            Easy es = new Easy();

            es.Show();
            Hide();
        }