private void button3_Click(object sender, EventArgs e) { GuessingTheNumber theNumber = new GuessingTheNumber(); this.Hide(); theNumber.Show(); }
private void button1_Click(object sender, EventArgs e) { if (radioButton1.Checked == true) { Stories stories = new Stories(); this.Hide(); stories.Show(); } else if (radioButton2.Checked == true) { GuessingTheNumber guessingTheNumber = new GuessingTheNumber(); this.Hide(); guessingTheNumber.Show(); } }