Пример #1
0
 private Boolean OnKeyUp(AppleKeyboardKeys appleKeyState, Keys key, Win32.KeyboardHookEventStruct keyEventStruct)
 {
     if (KeyUp != null)
     {
         AppleKeyboardEventArgs eArgs = new AppleKeyboardEventArgs(appleKeyState, key, keyEventStruct);
         KeyUp(this, eArgs);
         return(eArgs.Handled);
     }
     else
     {
         return(false);
     }
 }
Пример #2
0
 private Boolean OnKeyUp(AppleKeyboardKeys appleKeyState, Keys key, Win32.KeyboardHookEventStruct keyEventStruct)
 {
     if (KeyUp != null)
     {
         AppleKeyboardEventArgs eArgs = new AppleKeyboardEventArgs(appleKeyState, key, keyEventStruct);
         KeyUp(this, eArgs);
         return eArgs.Handled;
     }
     else
     {
         return false;
     }
 }