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();
 }
Esempio n. 3
0
 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();
 }
Esempio n. 4
0
 public Places(MainWindow window)
 {
     InitializeComponent();
     placesmodel = new Model.PlacesViewModel(window);
     this.window = window;
 }