public Livret CreerLivret1(Diplome pDiplome) { Livret oReturn = null; oReturn = new Livret1(); oReturn.oDiplome = pDiplome; return(oReturn); }
public Livret2(Diplome pDipl) : this() { oDiplome = pDipl; foreach (DomaineCompetence item in oDiplome.lstDomainesCompetences) { DCLivret oDCLivret = new DCLivret(item); lstDCLivrets.Add(oDCLivret); } }
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); }
public DiplomeCand(Diplome pDip, DateTime pDateObtention) : this() { oDiplome = pDip; this.DateObtention = pDateObtention; SetDCs(); }