示例#1
0
        /*
         * Button (Add Student) - New Student - add student code behind
         */
        private void btnNewStudent_Click(object sender, EventArgs e)
        {
            NewStudent newStudent = new NewStudent();

            newStudent.Show();
            Hide();
        }
示例#2
0
        /*
         * Start Menu Strip Drop Down Selection Code behinds - first word of method identifier indicates its function
         */
        private void addStudentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewStudent addNewStudent = new NewStudent();

            addNewStudent.Show();
        }