Esempio n. 1
0
 public void AddParticipantToWks(Workshop wks, Person p)
 {
     wks.AddParticipant(p);
     if (wks.GetParticipants().Count >= (wks.MaxParticipants * 0.9))
     {
         if (ParticipantsLimitEvent != null)
         {
             ParticipantsLimitEvent(wks);
         }
     }
     AddAttendance(wks, p);
 }