Пример #1
0
        private void NewClass()
        {
            //Create a new instance of the AddNewClass screen.
            AddNewClass addNewClass = new AddNewClass();

            //Show the AddNewClass screen.
            addNewClass.Show();
            //Hide this screen.
            Hide();
        }
        private void btnAddNewStudio2Class_Click(object sender, EventArgs e)
        {
            //Create a new instance of the Add New Class Screen.
            AddNewClass addNewClass = new AddNewClass();

            //Show the Add New Class Screen.
            addNewClass.Show();
            //Hide this screen.
            Hide();
        }