예제 #1
0
 /// <summary>
 /// Overloaded constructor for instructors
 /// </summary>
 /// <param name="instructorObj"></param>
 public HomeForm(Instructor instructorObj)
 {
     InitializeComponent();
     this.instructor             = instructorObj;
     this.updateInstructorLabels = new updateLabelsDelegate(updateInstructorLabelsmethod);
 }
예제 #2
0
 /// <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);
 }