C# 클래스 SoundSwitch.Framework.WindowsAPIAdapter

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: Belphemur/SoundSwitch 1 사용 예제들

공개 메소드들

메소드 설명
RegisterHotKey ( HotKeys hotKeys ) : bool

Registers a HotKey in the system.

Start ( ThreadExceptionEventHandler exceptionEventHandler = null ) : void

Star the Adapter thread

Stop ( ) : void

Stop the adapter thread

UnRegisterHotKey ( HotKeys hotKeys ) : bool

Unregister a registered HotKey

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
SetVisibleCore ( bool value ) : void
WndProc ( Message &m ) : void

비공개 메소드들

메소드 설명
ConvertLParam ( IntPtr lParam ) : long

To avoid overflow on 64 bit platform use this method

EndForm ( ) : void
ProcessHotKeyEvent ( Message m ) : void
RunForm ( ) : void
WindowsAPIAdapter ( ) : System

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

RegisterHotKey() 공개 정적인 메소드

Registers a HotKey in the system.
public static RegisterHotKey ( HotKeys hotKeys ) : bool
hotKeys HotKeys Represent the hotkey to register
리턴 bool

SetVisibleCore() 보호된 메소드

protected SetVisibleCore ( bool value ) : void
value bool
리턴 void

Start() 공개 정적인 메소드

Star the Adapter thread
public static Start ( ThreadExceptionEventHandler exceptionEventHandler = null ) : void
exceptionEventHandler ThreadExceptionEventHandler
리턴 void

Stop() 공개 정적인 메소드

Stop the adapter thread
public static Stop ( ) : void
리턴 void

UnRegisterHotKey() 공개 정적인 메소드

Unregister a registered HotKey
public static UnRegisterHotKey ( HotKeys hotKeys ) : bool
hotKeys HotKeys
리턴 bool

WndProc() 보호된 메소드

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
리턴 void