C# Class EarTrumpet.Extensions.IconExtensions

Afficher le fichier Open project: File-New-Project/EarTrumpet

Méthodes publiques

Méthode Description
ExtractIconFromDll ( this path, int iconIndex ) : System.Windows.Media.ImageSource
ToImageSource ( this icon ) : System.Windows.Media.ImageSource

Private Methods

Méthode Description
DeleteObject ( IntPtr hObject ) : bool
DestroyIcon ( IntPtr hIcon ) : bool
ExtractIcon ( IntPtr hInst, string lpszExeFileName, int nIconIndex ) : IntPtr

Method Details

ExtractIconFromDll() public static méthode

public static ExtractIconFromDll ( this path, int iconIndex ) : System.Windows.Media.ImageSource
path this
iconIndex int
Résultat System.Windows.Media.ImageSource

ToImageSource() public static méthode

public static ToImageSource ( this icon ) : System.Windows.Media.ImageSource
icon this
Résultat System.Windows.Media.ImageSource