Example #1
0
 public void supprimerCritere(CritereAssociee crit)
 {
     if (this.listCritere.Contains(crit))
     {
         this.listCritere.Remove(crit);
     }
 }
Example #2
0
 public void ajouterCritere(CritereAssociee crit)
 {
     if (!this.listCritere.Contains(crit))
     {
         this.listCritere.Add(crit);
     }
 }
Example #3
0
 public void modifierCritere(CritereAssociee crit)
 {
     foreach (CritereAssociee c in this.listCritere)
     {
         if (c.critere.idCritere == crit.critere.idCritere)
         {
             c.valeurNbr = crit.valeurNbr;
         }
         c.valeurTexte = crit.valeurTexte;
     }
 }