WPF显示图片(从资源里获取)出错BitmapImage bt new BitmapImage()Uri u new Uri(pack://application
WPF显示图片(从资源里获取)出错
BitmapImage bt = new BitmapImage();
Uri u = new Uri("pack://application:,,,/WindowsPhotoGallery.bmp");
bt.UriSource = u;
this.image1.Source = bt;
WPF显示图片(从资源里获取)出错
图片显示不出来,为啥?
谢谢!
[解决办法]
是不是你的image1位置没设好呀
[解决办法]
