Beispiel #1
0
 // Constructor
 public Event(int aLevel, string aName, SlideShow aShow)
 {
     iLevel = aLevel;
     iName  = aName;
     iShow  = aShow;
 }
Beispiel #2
0
 // Parameterless constructor required for serialisation
 public Event()
 {
     iLevel = 0;
     iName  = "Anon";
     iShow  = null;
 }
Beispiel #3
0
 // Add a new event to the list
 public void Add(int aLevel, string aName, SlideShow aShow)
 {
     iEventList.Add(new Event(aLevel, aName, aShow));
 }