Example #1
0
        public Livret CreerLivret1(Diplome pDiplome)
        {
            Livret oReturn = null;

            oReturn          = new Livret1();
            oReturn.oDiplome = pDiplome;
            return(oReturn);
        }
Example #2
0
        public Livret2(Diplome pDipl) : this()
        {
            oDiplome = pDipl;

            foreach (DomaineCompetence item in oDiplome.lstDomainesCompetences)
            {
                DCLivret oDCLivret = new DCLivret(item);
                lstDCLivrets.Add(oDCLivret);
            }
        }
Example #3
0
 public Livret()
 {
     isClos       = false;
     IsEnregistre = false;
     IsPaye       = false;
     EtatLivret   = "";
     Typestr      = "";
     lstJurys     = new ObservableCollection <Jury>();
     //lstJurys.Add(new Jury());
     oDiplome = Diplome.getDiplomeParDefaut();
 }
Example #4
0
        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);
        }
Example #5
0
 public DiplomeCand(Diplome pDip, DateTime pDateObtention) : this()
 {
     oDiplome           = pDip;
     this.DateObtention = pDateObtention;
     SetDCs();
 }