コード例 #1
0
        private void teacher_exitbutton_Click(object sender, EventArgs e)
        {
            TeacherLogin login = new TeacherLogin();

            login.Show();
            this.Close();
        }
コード例 #2
0
        private void TeacherLoginButton_Click(object sender, EventArgs e)
        {
            TeacherLogin teacherLogin = new TeacherLogin();

            teacherLogin.Show();
            this.Hide();
        }