Пример #1
0
 public FrmDetailRapport(RAPPORT_VISITE r)
 {
     InitializeComponent();
     this.leRapport = r;
     this.vis       = VisiteurManager.getUnVisiteur(r.RAP_MATRICULE);
     this.lePra     = VisiteurManager.ChargerLePraticien(r.RAP_PRANUM);
     this.mv        = VisiteurManager.chargerLeMotifVisite(r.RAP_MOTIF);
     if (r.RAP_MED1 != null)
     {
         this.med1 = VisiteurManager.ChargerLeMedicament(r.RAP_MED1);
     }
     if (r.RAP_MED2 != null)
     {
         this.med2 = VisiteurManager.ChargerLeMedicament(r.RAP_MED2);
     }
     // Partie design
     this.DoubleBuffered = true;
 }