Пример #1
0
 public AcceptPhotoView()
 {
     InitializeComponent();
     oldPhoto = App.Settings.SelectedPhoto;
     OldPhoto.Source = new BitmapImage(new Uri(oldPhoto.ImageURL));
     BitmapImage bmp = new BitmapImage();
     bmp.SetSource(App.Settings.PhotoByUser);
     NewPhoto.Source = bmp;
 }
Пример #2
0
 public PhotoInfoView()
 {
     InitializeComponent();
     photo = App.Settings.SelectedPhoto;
     DataContext = photo;
     GeoCoordinate center = new GeoCoordinate(photo.Latitude, photo.Longitude);
     LocationMap.Center = center;
     OldPhotoPushpin.Location = center;
 }