public Events(MainWindow window) { InitializeComponent(); placesmodel = new Model.PlacesViewModel(window); List_Events.ItemsSource = placesmodel.LoadEvents(); this.window = window; }
public MyPlaces(MainWindow window) { InitializeComponent(); placesmodel = new Model.PlacesViewModel(window); this.window = window; List_MyWanted.ItemsSource = placesmodel.LoadWanted(); List_MyVisited.ItemsSource = placesmodel.LoadVisited(); }
public Photo(MainWindow window, Page page) { InitializeComponent(); this.window = window; placesmodel = new Model.PlacesViewModel(window); this.previouspage = page; PlaceImg.Source = placesmodel.LoadImage(); Description.Content = placesmodel.Text(); }
public Places(MainWindow window) { InitializeComponent(); placesmodel = new Model.PlacesViewModel(window); this.window = window; }