Completed the main functions

This commit is contained in:
NaBian committed 2019-05-23 23:50:07 +08:00
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);
}
}