public Form1()
 {
     collegeEntities = new CollegeEntities();
     courseForm      = new CourseForm();
     enrollmentForm  = new EnrollmentForm();
     instructorForm  = new InstructorForm();
     majorForm       = new MajorForm();
     sectionForm     = new SectionForm();
     studentForm     = new StudentForm();
     InitializeComponent();
 }
 private void MajorForm_Click(object sender, EventArgs e)
 {
     majorForm = new MajorForm();
     majorForm.Show();
 }