C# Class AcTools.Windows.Input.KeyboardListener

Inheritance: IDisposable
Afficher le fichier Open project: gro-ove/actools Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
KeyboardListener ( bool subscribe = true ) : System
Subscribe ( ) : void
Unsubscribe ( ) : void

Méthodes protégées

Méthode Description
RaiseKeyDown ( int virtualKeyCode ) : bool
RaiseKeyUp ( int virtualKeyCode ) : bool

Private Methods

Méthode Description
KeyboardHookProc ( int nCode, int wParam, IntPtr lParam ) : int
KeyboardListener ( ) : System
SubscribeInner ( KeyboardListener instance ) : void
UnsubscribeInner ( KeyboardListener instance ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

KeyboardListener() public méthode

public KeyboardListener ( bool subscribe = true ) : System
subscribe bool
Résultat System

RaiseKeyDown() protected méthode

protected RaiseKeyDown ( int virtualKeyCode ) : bool
virtualKeyCode int
Résultat bool

RaiseKeyUp() protected méthode

protected RaiseKeyUp ( int virtualKeyCode ) : bool
virtualKeyCode int
Résultat bool

Subscribe() public méthode

public Subscribe ( ) : void
Résultat void

Unsubscribe() public méthode

public Unsubscribe ( ) : void
Résultat void