//************************************************************* //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; }
//**************************************************************** //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; }