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; }
public PhotoInfoView() { InitializeComponent(); photo = App.Settings.SelectedPhoto; DataContext = photo; GeoCoordinate center = new GeoCoordinate(photo.Latitude, photo.Longitude); LocationMap.Center = center; OldPhotoPushpin.Location = center; }