// A button which we use for going back to the Entrance form. private void Button1_Click(object sender, EventArgs e) { Entrance entrance = new Entrance(); entrance.Show(); this.Hide(); }
private void Button1_Click(object sender, EventArgs e) { Entrance entrance = new Entrance(); //Creates an object for entrance entrance.Show(); //Shows tab - Entrance this.Hide(); //Hides the previous tab upon click, preventing too many tabs }