Exemplo n.º 1
0
 public void DeleteEvent(BusinessEvent oBusinessEvent)
 {
     m_oBusinessEvents.Remove(oBusinessEvent);
 }
Exemplo n.º 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);
        }