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