Example #1
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     gst = new filmEntities();
     lstFilms.ItemsSource       = gst.film.ToList();
     cboGenre.ItemsSource       = gst.genre.ToList();
     cboRealisateur.ItemsSource = gst.realisateur.ToList();
     lstAllActeurs.ItemsSource  = gst.acteur.ToList();
 }
Example #2
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     gst = new filmEntities();
     lstFilms.ItemsSource       = gst.film.ToList();
     cboSpectateurs.ItemsSource = gst.spectateur.ToList();
 }