Blog sul mondo C# e non solo [ITA]
public void LoadImage(string path) { BitmapImage bmp = new BitmapImage(); bmp.BeginInit(); bmp.UriSource = new Uri(path, UriKind.RelativeOrAbsolute); bmp.EndInit(); img.Source = bmp; }
Nessun commento:
Posta un commento