Example #1
0
 public FenPatient()
 {
     myBDD = new NLHEntities();
     InitializeComponent();
     //empecher l'action coller dans le champs de texte NSS
     txtNSS.CommandBindings.Add(new CommandBinding(ApplicationCommands.Paste, DisablePasting));
 }
Example #2
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            myBDD = new NLHEntities();
            majDG();
            var querySpec =
                from depart in myBDD.tblDepartements
                select new
            {
                depart.nom,
            };

            foreach (var item in querySpec.ToList())
            {
                cboSpecialite.Items.Add(item.nom);
            }

            reinitialiser();
        }
 public FenAdmission()
 {
     InitializeComponent();
     g     = new Gestion();
     myBDD = new NLHEntities();
 }
Example #4
0
 public FenMedecin()
 {
     InitializeComponent();
     ges   = new Gestion();
     myBDD = new NLHEntities();
 }
Example #5
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     myBDD = new NLHEntities();
     majDG();
     reinitialiser();
 }
Example #6
0
 private void FenLogin_Loaded(object sender, RoutedEventArgs e)
 {
     myBDD = new NLHEntities();
     txtNomUtilisateur.Focus();
 }