public FenPatient() { myBDD = new NLHEntities(); InitializeComponent(); //empecher l'action coller dans le champs de texte NSS txtNSS.CommandBindings.Add(new CommandBinding(ApplicationCommands.Paste, DisablePasting)); }
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(); }
public FenMedecin() { InitializeComponent(); ges = new Gestion(); myBDD = new NLHEntities(); }
private void Window_Loaded(object sender, RoutedEventArgs e) { myBDD = new NLHEntities(); majDG(); reinitialiser(); }
private void FenLogin_Loaded(object sender, RoutedEventArgs e) { myBDD = new NLHEntities(); txtNomUtilisateur.Focus(); }