예제 #1
0
 public void DeleteEvent(BusinessEvent oBusinessEvent)
 {
     m_oBusinessEvents.Remove(oBusinessEvent);
 }
예제 #2
0
        public void CreateEvent(DateTime oDate, string sName, string sNotes, string sLocation)
        {
            BusinessEvent oBusinessEvent = new BusinessEvent();
            oBusinessEvent.Date = oDate;
            oBusinessEvent.Name = sName;
            oBusinessEvent.Notes = sNotes;
            oBusinessEvent.Location = sLocation;

            m_oBusinessEvents.Add(oBusinessEvent);
        }