Ejemplo n.º 1
0
 public static BudgetDA GetInstance()
 {
     if (instance == null)
     {
         instance = new BudgetDA();
     }
     return(instance);
 }
 public ActiviteController()
 {
     aDA  = new ActiviteDA();
     bDA  = new BudgetDA();
     adDA = new AdherentDA();
     oDA  = new OrganisateurDA();
     bcDA = new BudgetCategorieDA();
 }
 public ContribuesController()
 {
     aDA  = new AdherentDA();
     cDA  = new ContribuesDA();
     bDA  = new BudgetDA();
     bcDA = new BudgetCategorieDA();
     date = new DateValue();
 }
Ejemplo n.º 4
0
        private void comboAnnee_TextChanged(object sender, EventArgs e)
        {
            BudgetDA bDA = new BudgetDA();

            if (!comboAnnee.SelectedItem.ToString().Equals("Les activité actuelle"))
            {
                acc.findActivityByYear(dataActivite, comboAnnee.SelectedItem.ToString());
                btSupprimerActivite.Enabled = false;
                btModifierActivite.Enabled  = false;
            }
            else
            {
                acc.getActuelActivity(dataActivite);
                btSupprimerActivite.Enabled = true;
                btModifierActivite.Enabled  = true;
                rdActiviteCulturel.Checked  = false;
                rdActiviteLoisir.Checked    = false;
            }
        }
 public BudgetCategorieController()
 {
     bcDA = new BudgetCategorieDA();
     bDA  = new BudgetDA();
 }
Ejemplo n.º 6
0
 public BudgetController()
 {
     bDA = new BudgetDA();
     aDA = new AdherentDA();
 }
 public EventHandler()
 {
     eventDA            = EventDA.GetInstance();
     eventParticipantDA = EventParticipantDA.getInstance();
     budgetDA           = BudgetDA.GetInstance();
 }