예제 #1
0
 public EventPlanners(int id, TypeOfEvent e, string name, DateTime dt, String loc, Double cost, String eventRelatedInformation)
 {
     Id = id; EventType = e; Name = name; DateAndTime = dt; Venue = loc; Cost = cost;
     eveInfo = new EventInformation(eventRelatedInformation);
 }
예제 #2
0
 void ep_eventNotification(object sender, EventInformation args, string msg)
 {
     Console.WriteLine("\n"+ args.Message);
     Console.WriteLine(sender);
     Console.WriteLine("note: {0}", msg);
 }