C# Класс SoundSwitch.Framework.WindowsAPIAdapter

Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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