Exemple #1
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     gst = new edfEntities();
     controleur leCtrl = gst.controleur.ToList().Find(ctrl => ctrl.login == txtlogin.Text && ctrl.mdp == txtMdp.Text);
 }
 public frmCtrl(edfEntities unGst)
 {
     InitializeComponent();
     gst = unGst;
 }
Exemple #3
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     gst = new edfEntities();
     lstControleurs.ItemsSource = gst.controleur.ToList();
 }
Exemple #4
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     gst = new edfEntities();
 }
Exemple #5
0
 public Authentification(edfEntities gst)
 {
     this.gst = gst;
 }
Exemple #6
0
 public admin(edfEntities unControleurEntities)
 {
     InitializeComponent();
     gst = unControleurEntities;
     lstControleur.ItemsSource = gst.controleur.ToList();
 }