标签:style blog color 使用 io div log new
BitmapImage bi = new BitmapImage(); // BitmapImage.UriSource must be in a BeginInit/EndInit block. bi.BeginInit(); StreamResourceInfo info = Application.GetRemoteStream(new Uri("Test.jpg", UriKind.Relative)); bi.StreamSource = info.Stream; bi.EndInit(); // Set the image source. IMTest.Source = bi;
WPF Image控件使用本地图片,布布扣,bubuko.com
标签:style blog color 使用 io div log new
原文地址:http://www.cnblogs.com/badnewfish/p/3912382.html