Пример #1
0
 //*************************************************************
 //Method: AddProfessorCollectionEventArgs
 //
 //Purpose: Constructor for the AddProfessorCollectionEventArgs
 //         class that assigns data from the passed in Professor
 //         instance to the professorAdded member variable.
 //*************************************************************
 public AddProfessorCollectionEventArgs(Professor p)
 {
     professorAdded = p;
 }
Пример #2
0
 //****************************************************************
 //Method: RemoveProfessorCollectionEventArgs
 //
 //Purpose: Constructor for the RemoveProfessorCollectionEventArgs
 //         class that assigns data from the passed in Professor
 //         instance to the professorRemoved member variable.
 //*****************************************************************
 public RemoveProfessorCollectionEventArgs(Professor p)
 {
     professorRemoved = p;
 }