Esempio n. 1
0
 //Will be only one instance
 public static EventParticipantDA getInstance()
 {
     if (instance == null)
     {
         instance = new EventParticipantDA();
     }
     return(instance);
 }
 public EventHandler()
 {
     eventDA            = EventDA.GetInstance();
     eventParticipantDA = EventParticipantDA.getInstance();
     budgetDA           = BudgetDA.GetInstance();
 }