Completed the main functions
This commit is contained in:
1 parent
54abf3c663
commit
6e3171259e
10 files changed
+195
-14
No files matched your search
@@ -5,10 +5,13 @@ namespace HandyControl.Data
|
||||
{
|
||||
internal class KeyboardHookEventArgs : EventArgs
|
||||
{
|
||||
public bool IsSystemKey { get; }
|
||||
|
||||
public Key Key { get; }
|
||||
|
||||
public KeyboardHookEventArgs(int virtualKey)
|
||||
public KeyboardHookEventArgs(int virtualKey, bool isSystemKey)
|
||||
{
|
||||
IsSystemKey = isSystemKey;
|
||||
Key = KeyInterop.KeyFromVirtualKey(virtualKey);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user