/// <summary> /// Overloaded constructor for instructors /// </summary> /// <param name="instructorObj"></param> public HomeForm(Instructor instructorObj) { InitializeComponent(); this.instructor = instructorObj; this.updateInstructorLabels = new updateLabelsDelegate(updateInstructorLabelsmethod); }
/// <summary> /// Initializes the form, the sutdent and delegate. /// Authors: Eric Dong, Jacob Tan /// </summary> /// <param name="studentObj"></param> public HomeForm(Student studentObj) { InitializeComponent(); this.student = studentObj; this.updateStudentLabels = new updateLabelsDelegate(updateStudentLabelsmethod); }