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; }
private void Window_Loaded(object sender, RoutedEventArgs e) { gst = new edfEntities(); lstControleurs.ItemsSource = gst.controleur.ToList(); }
private void Window_Loaded(object sender, RoutedEventArgs e) { gst = new edfEntities(); }
public Authentification(edfEntities gst) { this.gst = gst; }
public admin(edfEntities unControleurEntities) { InitializeComponent(); gst = unControleurEntities; lstControleur.ItemsSource = gst.controleur.ToList(); }