/* * Button (Add Student) - New Student - add student code behind */ private void btnNewStudent_Click(object sender, EventArgs e) { NewStudent newStudent = new NewStudent(); newStudent.Show(); Hide(); }
/* * 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(); }