public static void PrintEvent(Event eventToPrint) { if (eventToPrint != null) { thisOutput.Append(eventToPrint + "\n"); } }
public void AddEvent(DateTime date, string title, string location) { Event newEvent = new Event(date, title, location); this.m_byTitle.Add(title.ToLower(), newEvent); this.m_byDate.Add(newEvent); Messages.EventAdded(); }