protected void RaiseNewEvent(Event newEvent) { NewEventHandler temp = NewEvent; if (temp != null) { temp(newEvent); } }
public void AddEvent(Event eventToAdd) { RaiseNewEvent(eventToAdd); }