摘要:
转载自:http://www.cnblogs.com/forgetu/archive/2010/08/07/silverlight-load-local-image-stream-to-byte-array.html#commentform通过 OpenFileDialog 浏览本地图片,然后将图片读取到文件流中,再将文件流转成 BitmapImage 就可以显示本地图片了。代码中ImageFromStream是一个Image控件。?1234567891011121314151617OpenFileDialog dlg = new OpenFileDialog();dlg.Filter = & 阅读全文