Ejemplo n.º 1
0
        /* This method switches from one form to another depending on where we are at the game.
         * It takes in no parameters and returns nothing */

        private void SwitchForm()
        {
            hub = new HubForm(); // creates a new instance of hubform
            hub.Show();          // Show the hub form
            this.Hide();         // Hides the current form
        }