예제 #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));
 }
예제 #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();
        }
예제 #3
0
 public FenAdmission()
 {
     InitializeComponent();
     g     = new Gestion();
     myBDD = new NLHEntities();
 }
예제 #4
0
 public FenMedecin()
 {
     InitializeComponent();
     ges   = new Gestion();
     myBDD = new NLHEntities();
 }
예제 #5
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     myBDD = new NLHEntities();
     majDG();
     reinitialiser();
 }
예제 #6
0
 private void FenLogin_Loaded(object sender, RoutedEventArgs e)
 {
     myBDD = new NLHEntities();
     txtNomUtilisateur.Focus();
 }