Example #1
0
        // -----------------------------

        public VueAdminPersonnel(WindowMGR mgr)
        {
            this.mgr  = mgr;
            message   = String.Empty;
            editing   = false;
            isMedecin = false;
            InitializeComponent();
        }
Example #2
0
        // -----------------------------


        public VueClerkAdmission(WindowMGR mgr)
        {
            this.mgr   = mgr;
            predispo   = 0;
            agePatient = new TimeSpan();
            initRaison = true;
            InitializeComponent();
            cbRaison.ItemsSource = mgr.BDD.DepartementMedicals.ToList();
        }
Example #3
0
 public VueClerkListePatients(WindowMGR mgr, bool onlySelect)
 {
     this.mgr        = mgr;
     this.onlySelect = onlySelect;
     InitializeComponent();
     if (mgr.User.Departement.NomDept == "Administrateur")
     {
         btnNouveauPatient.Visibility = Visibility.Hidden;
     }
 }
Example #4
0
        // -----------------------------

        public VueClerkDetailsPatient(WindowMGR mgr, Patient patient)
        {
            this.mgr = mgr;
            if (patient != null)
            {
                editing      = true;
                this.editPat = patient;
            }
            else
            {
                editing = false;
            }
            InitializeComponent();
        }
Example #5
0
 public VueChambresEtLits(WindowMGR mgr, DepartementMedical depMed)
 {
     this.mgr    = mgr;
     this.depMed = depMed;
     if (depMed != null)
     {
         initDepMed = true;
     }
     else
     {
         initDepMed = false;
     }
     InitializeComponent();
     if (mgr.User.Departement.NomDept == "Administrateur")
     {
         btnAddChambre.Visibility = Visibility.Visible;
         btnDelChambre.Visibility = Visibility.Visible;
         btnAddLit.Visibility     = Visibility.Visible;
         btnDelLit.Visibility     = Visibility.Visible;
         lblType.Visibility       = Visibility.Visible;
         cbChambreType.Visibility = Visibility.Visible;
     }
 }
Example #6
0
        public Login(WindowMGR mgr)
        {
            this.mgr = mgr;

            InitializeComponent();
        }
Example #7
0
 public VueClerk(WindowMGR mgr)
 {
     this.mgr = mgr;
     InitializeComponent();
 }
Example #8
0
 public VueAdminDepartements(WindowMGR mgr)
 {
     this.mgr = mgr;
     InitializeComponent();
 }
Example #9
0
 public VueDossiers(WindowMGR mgr)
 {
     this.mgr = mgr;
     InitializeComponent();
 }
Example #10
0
 public VueMedecin(WindowMGR mgr)
 {
     this.mgr = mgr;
     InitializeComponent();
 }
Example #11
0
 public VueClerkListeMedecins(WindowMGR mgr, DepartementMedical depMed)
 {
     this.mgr    = mgr;
     this.depMed = depMed;
     InitializeComponent();
 }