private void buttonQuitNo_Click(object sender, EventArgs e)
        {
            SoundPlayer soundPlayer = new SoundPlayer(Properties.Resources.Button_Click);

            soundPlayer.Play();

            FormQuitPopUp formQuitPopUp = new FormQuitPopUp();

            this.Close();
        }
Esempio n. 2
0
        private void ButtonQuit_Click(object sender, EventArgs e)
        {
            SoundPlayer soundPlayer = new SoundPlayer(Properties.Resources.Button_Click);

            soundPlayer.Play();

            FormQuitPopUp formQuitPopUp = new FormQuitPopUp();

            formQuitPopUp.ShowDialog();
        }