예제 #1
0
        private void btnHighscore_Click(object sender, EventArgs e)
        {
            this.Hide();
            var myForm = new highscoreForm();

            myForm.ShowDialog();
            this.Close();
        }
예제 #2
0
 private void btnHighscore_Click(object sender, EventArgs e)
 {
     if (btnHighscore.Text == "Geography")
     {
         category = "geography";
         this.Hide();
         var myForm = new Form1();
         myForm.ShowDialog();
         this.Close();
     }
     else
     {
         this.Hide();
         var myForm = new highscoreForm();
         myForm.ShowDialog();
         this.Close();
     }
 }