private void Window_Loaded(object sender, RoutedEventArgs e) { gst = new edfEntities(); lstControleur.ItemsSource = gst.controleur.ToList(); }
public frmControleurAdmin(edfEntities gstBDD) { InitializeComponent(); gst = gstBDD; }
public MainWindow() { InitializeComponent(); gst = new edfEntities(); }
private void Window_Loaded(object sender, RoutedEventArgs e) { gst = new edfEntities(); }
private void Window_Loaded(object sender, RoutedEventArgs e) { gst = new edfEntities(); lstClientControleur.ItemsSource = from c in gst.client.ToList() where gst.controleur.ToList().Find() }