示例#1
0
        private void button3_Click(object sender, EventArgs e)
        {
            GuessingTheNumber theNumber = new GuessingTheNumber();

            this.Hide();
            theNumber.Show();
        }
示例#2
0
 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();
     }
 }