예제 #1
0
        private void PauseButton_Click(object sender, EventArgs e)
        {
            PauseMenu paused = new PauseMenu(this);

            paused.Show();
            //MessageBox.Show("Pausing!", "Pause Menu", MessageBoxButtons.OKCancel);
            //if (MessageBox.Show("Are you sure?", "Confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
            //{
            // user clicked yes
            //}
            //else
            //{
            // user clicked no
            //}
        }
예제 #2
0
 private void PauseButton_Click(object sender, EventArgs e)
 {
     PauseMenu paused = new PauseMenu(this);
     paused.Show();
     //MessageBox.Show("Pausing!", "Pause Menu", MessageBoxButtons.OKCancel);
     //if (MessageBox.Show("Are you sure?", "Confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
     //{
         // user clicked yes
     //}
     //else
     //{
         // user clicked no
     //}
 }