C# Class SylphyHorn.Interop.IconHelper

Mostrar archivo Open project: ViRb3/SylphyHornEx

Public Methods

Method Description
GetIconFromResource ( Uri uri ) : Icon
GetIconSize ( ) : Size
ToIcon ( Bitmap bitmap ) : Icon

Private Methods

Method Description
GetMonitorDpi ( ) : Dpi
ScaleIconToDpi ( Icon targetIcon ) : Icon

Method Details

GetIconFromResource() public static method

public static GetIconFromResource ( Uri uri ) : Icon
uri Uri
return Icon

GetIconSize() public static method

public static GetIconSize ( ) : Size
return System.Windows.Size

ToIcon() public static method

public static ToIcon ( Bitmap bitmap ) : Icon
bitmap Bitmap
return Icon