예제 #1
0
 private void returnButton_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("Are you sure you want to return to Menu?", "Return", MessageBoxButtons.YesNo, MessageBoxIcon.Hand, MessageBoxDefaultButton.Button2) == DialogResult.Yes)
     {
         MessageBox.Show("Returning to menu!", "Menu Return");
     }
     else
     {
         MessageBox.Show("Did not return");
         PartyPick pp = new PartyPick();
         pp.ShowDialog();
     }
     this.Close();
 }
예제 #2
0
        private void startButton_Click(object sender, EventArgs e)
        {
            PartyPick pp = new PartyPick();

            pp.ShowDialog();
        }