C# Class YetAnotherRelogger.Helpers.Hotkeys.GlobalHotkeys

Afficher le fichier Open project: sinterlkaas/YetAnotherRelogger Class Usage Examples

Méthodes publiques

Méthode Description
Add ( System.Windows.Forms.Hotkey hotkey ) : bool

Add a Global Hotkey

KeysToModifierKeys ( Keys keys ) : ModifierKeys

Translate Keys to ModifierKeys standard for GlobalHotkeys

Load ( ) : void
Remove ( int id ) : bool

Remove a Global Hotkey

Private Methods

Méthode Description
GlobalHotkeys ( ) : System
hook_KeyPressed ( object sender, KeyPressedEventArgs e ) : void

Method Details

Add() public méthode

Add a Global Hotkey
public Add ( System.Windows.Forms.Hotkey hotkey ) : bool
hotkey System.Windows.Forms.Hotkey Hotkey
Résultat bool

KeysToModifierKeys() public static méthode

Translate Keys to ModifierKeys standard for GlobalHotkeys
public static KeysToModifierKeys ( Keys keys ) : ModifierKeys
keys Keys Keys as ModifierKeys
Résultat ModifierKeys

Load() public méthode

public Load ( ) : void
Résultat void

Remove() public méthode

Remove a Global Hotkey
public Remove ( int id ) : bool
id int Hotkey id
Résultat bool