/* 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 }
/* This methid quits the current game and goes back to the form where the user * gets to choose what type of analyzer they want to play. It takes in sender and e * as parameters and returns nothing */ private void QuitButton_Click(object sender, EventArgs e) { MakePictures(); // Calls the method hub.Show(); // Shows the hub form this.Hide(); // hides the current form }