Possible Duplicate:
Convert System.Drawing.Icon to System.Media.ImageSource
I have a WPF app. To display tray icon, I referenced WinForm assemblies and added a few icons to resource, they can be accessed like Properties.Resources.MyIcon
with type System.Drawing.Icon
. I'd like to display these icons in my main window as well. My question is whether it is possible to directly use these WinForm icons in WPF Image control?