Ejemplo n.º 1
0
        private void btnHighscore_Click(object sender, EventArgs e)
        {
            this.Hide();
            var myForm = new highscoreForm();

            myForm.ShowDialog();
            this.Close();
        }
Ejemplo n.º 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();
     }
 }