コード例 #1
0
        private void buttonQuitNo_Click(object sender, EventArgs e)
        {
            SoundPlayer soundPlayer = new SoundPlayer(Properties.Resources.Button_Click);

            soundPlayer.Play();

            FormQuitPopUp formQuitPopUp = new FormQuitPopUp();

            this.Close();
        }
コード例 #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();
        }