Subversion Repository Public Repository

Nextrek

Diff Revisions 751 vs 752 for /Android/SmartCharging/SmartCharging_WP/SmartCharging/ImagePicker.xaml.cs

Diff revisions: vs.
  @@ -74,6 +74,13 @@
74 74
75 75 }
76 76
77 + public void setImageSource(Uri uri){
78 + var bitmapImage = new Windows.UI.Xaml.Media.Imaging.BitmapImage();
79 + bitmapImage.UriSource = uri;
80 + this.ImageBrush.ImageSource = bitmapImage;
81 + ;
82 + }
83 +
77 84 private void Ellipse_Tapped(object sender, TappedRoutedEventArgs e)
78 85 {
79 86 ImagePath = string.Empty;