public MenuVilles() { InitializeComponent(); l = VilleORM.listeVilles(); listeVilles.ItemsSource = l; }
private void OnPropertyChanged(string info) { PropertyChangedEventHandler handler = PropertyChanged; if (handler != null) { handler(this, new PropertyChangedEventArgs(info)); VilleORM.updateVille(this); } }