在我的应用程序中,我必须List<MenuItem>在WCF中向我的shell扩展发送一个.这些MenuItem由图标和标签组成.图标的类型是,System.Drawing.Icon但我必须工作System.Windows.Media.Imaging.BitmapImage.有没有办法转换BitmapImage成Icon?
我的想法:
首先将BitmapImage转换为Bitmap
然后另存为Icon
http://social.msdn.microsoft.com/forums/en-US/netfxbcl/thread/4a10d440-707f-48d7-865b-1d8804faf649/
希望这可以帮助!
| 归档时间: |
|
| 查看次数: |
4459 次 |
| 最近记录: |