public Espece(decimal mtR, decimal totV) { Mr = new ModeReglement() {CodeModR=3}; if (mtR < totV) Rendu = 0; else Rendu = mtR - totV; Montant = mtR; }
public Cheque(decimal mtR) { Montant = mtR; Mr = new ModeReglement() { CodeModR = 2 }; }
public Cb(decimal mtR) { Mr = new ModeReglement() { CodeModR = 1 }; Montant = mtR; }