A utility class for converting Icon formats used in Windows Forms and WPF.
Static Public Member Functions |
|
static ImageSource | ConvertIconToImageSource (Icon aIcon) |
Converts a Icon object (used by Windows
Forms) into an ImageSource supported by WPF. |
static ImageSource CSharpUtilities::IconTools::ConvertIconToImageSource | ( | Icon | aIcon | ) | [inline, static] |
Converts a Icon object (used by Windows Forms) into an ImageSource supported by WPF.
aIcon | A valid Icon object. |