Пример #1
0
 void loadCategorie()
 {
     Categorie             = CategorieORM.listeCategorie();
     myDataObjectCategorie = new CategorieViewModel();
     //LIEN AVEC la VIEW
     categorieCombobox.ItemsSource = Categorie; // bind de la liste avec la source, permettant le binding.#2#*/
 }
Пример #2
0
 void loadCategories()
 {
     lp           = CategorieORM.listeCategorie();
     myDataObject = new CategorieViewModel();
     //LIEN AVEC la VIEW
     listeCategorie.ItemsSource = lp; // bind de la liste avec la source, permettant le binding.
 }
 void loadCategories()
 {
     c = CategorieORM.listeCategorie();
     myDataObjectCategorie = new CategorieViewModel();
     /*listeCategories.ItemsSource = c;*/
 }