public Livret() { isClos = false; IsEnregistre = false; IsPaye = false; EtatLivret = ""; Typestr = ""; lstJurys = new ObservableCollection <Jury>(); //lstJurys.Add(new Jury()); oDiplome = Diplome.getDiplomeParDefaut(); }
public DiplomeCand AddDiplome(Diplome pDiplome = null, String pStatut = "Validé") { DiplomeCand oReturn = null; if (pDiplome == null) { pDiplome = Diplome.getDiplomeParDefaut(); } oReturn = new DiplomeCand(pDiplome, DateTime.Now); oReturn.Statut = pStatut; // oReturn.oCandidat = this; this.lstDiplomes.Add(oReturn); return(oReturn); }