C# Class BoringHeroes.Interaction.KeyboardHook

Inheritance: IDisposable
Afficher le fichier Open project: lances101/BoringHeroes Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
KeyboardHook ( ) : System
RegisterHotKey ( ModifierKeys modifier, Keys key ) : void

Registers a hot key in the system.

Private Methods

Méthode Description
RegisterHotKey ( IntPtr hWnd, int id, uint fsModifiers, uint vk ) : bool
UnregisterHotKey ( IntPtr hWnd, int id ) : bool

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

KeyboardHook() public méthode

public KeyboardHook ( ) : System
Résultat System

RegisterHotKey() public méthode

Registers a hot key in the system.
public RegisterHotKey ( ModifierKeys modifier, Keys key ) : void
modifier ModifierKeys The modifiers that are associated with the hot key.
key Keys The key itself that is associated with the hot key.
Résultat void