示例#1
0
        // 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();
        }
示例#2
0
        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
        }