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(); }
private void startButton_Click(object sender, EventArgs e) { PartyPick pp = new PartyPick(); pp.ShowDialog(); }