Exemplo n.º 1
0
        private void frmConsultationPersonne_Load(object sender, EventArgs e)
        {
            this.adherents = MAdherents.ChercherAdherent(laPersonne.NumAdherent);
            this.affichePersonnes();
            now    = DateTime.Now;
            valide = adherents.dateCotisation.AddYears(1);

            if (now > valide)
            {
                lblRetard.Visible = true;
            }
            else
            {
                lblRetard.Visible = false;
            }
        }
Exemplo n.º 2
0
 private void frmConsultationScolaire_Load(object sender, EventArgs e)
 {
     this.adherents = MAdherents.ChercherAdherent(leScolaire.NumAdherent);
     this.afficheScolaires();
 }