示例#1
0
        public PageEtude()
        {
            InitializeComponent();

            ld  = EtudeORM.listeEtudes();
            leq = EquipeORM.listeEquipes();
            lep = EnsemblePlageORM.listeEnsembles();

            listeEtudes.ItemsSource   = ld;
            listEnsembles.ItemsSource = lep;
            listEquipes.ItemsSource   = leq;
        }
示例#2
0
 private void AddEtude_Click(object sender, RoutedEventArgs e)
 {
     EtudeORM.insertEtude(titreTextBox.Text, (EnsemblesViewModel)listEnsembles.SelectedItem, (EquipeViewModel)listEquipes.SelectedItem);
 }