C# 클래스 ZForge.Controls.ExplorerBar.ThemeManager

A class that extracts theme settings from Windows XP shellstyle dlls
파일 보기 프로젝트 열기: zhuangyy/Motion

공개 메소드들

메소드 설명
GetSystemExplorerBarSettings ( ) : ExplorerBarInfo

Gets the System defined settings for the ExplorerBar according to the current System theme

GetSystemExplorerBarSettings ( bool useClassicTheme ) : ExplorerBarInfo

Gets the System defined settings for the ExplorerBar according to the current System theme

GetSystemExplorerBarSettings ( string stylePath ) : ExplorerBarInfo

Gets the System defined settings for the ExplorerBar specified by the shellstyle.dll at the specified path

IconToBitmap ( Icon icon ) : Bitmap

Converts an Icon to a Bitmap

비공개 메소드들

메소드 설명
ConvertByteArrayToImage ( byte bytes ) : Image

Converts a byte array to an Image

ConvertByteArrayToObject ( byte bytes ) : object

Converts a byte array to an object

ConvertColorToString ( Color color ) : string

Converts a Color to a string representation

ConvertImageToByteArray ( Image image ) : byte[]

Converts an Image to a byte array

ConvertObjectToByteArray ( object obj ) : byte[]

Converts an object to a byte array

ConvertStringToColor ( string col ) : Color

Converts a string to a color

ConvertToBitmap ( Icon icon ) : Bitmap

Converts an Icon to a Bitmap

FreeShellStyleDll ( ) : void

Removes the ShellStyle.dll from memory. Assumes that LoadShellStyleDll() was successful

GetResourceBMP ( string resourceName ) : Bitmap

Returns a Bitmap from the currently loaded ShellStyle.dll

GetResourcePNG ( string resourceName ) : Bitmap

Returns a Png Bitmap from the currently loaded ShellStyle.dll

GetResourceString ( int id ) : string

Returns a string from the currently loaded ShellStyle.dll

GetResourceUIFile ( ) : string

Extracts the UIFILE from the currently loaded ShellStyle.dll

GetShellStylePath ( ) : string

Returns a string that specifies the path to the shellstyle.dll accordingto the current theme

LoadShellStyleDll ( ) : bool

Loads the ShellStyle.dll into memory as determined by the current system theme

LoadShellStyleDll ( string stylePath ) : bool

Loads the specified ShellStyle.dll into memory

메소드 상세

GetSystemExplorerBarSettings() 공개 정적인 메소드

Gets the System defined settings for the ExplorerBar according to the current System theme
public static GetSystemExplorerBarSettings ( ) : ExplorerBarInfo
리턴 ExplorerBarInfo

GetSystemExplorerBarSettings() 공개 정적인 메소드

Gets the System defined settings for the ExplorerBar according to the current System theme
public static GetSystemExplorerBarSettings ( bool useClassicTheme ) : ExplorerBarInfo
useClassicTheme bool Specifies whether the current system theme /// should be ignored and return unthemed settings
리턴 ExplorerBarInfo

GetSystemExplorerBarSettings() 공개 정적인 메소드

Gets the System defined settings for the ExplorerBar specified by the shellstyle.dll at the specified path
public static GetSystemExplorerBarSettings ( string stylePath ) : ExplorerBarInfo
stylePath string The path to the shellstyle.dll
리턴 ExplorerBarInfo

IconToBitmap() 공개 정적인 메소드

Converts an Icon to a Bitmap
public static IconToBitmap ( Icon icon ) : Bitmap
icon System.Drawing.Icon The Icon to be converted
리턴 System.Drawing.Bitmap