root/Apple Wireless Keyboard Helper/trunk/Misuzilla.Applications.AppleWirelessKeyboardHelper/EventArgs.cs

Revision 346, 1.0 kB (checked in by tomoyo, 3 years ago)

* 暫定的にJIS配列に対応した
* その他修正

  • Property svn:keywords set to Id
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using System.Windows.Forms;
5
6namespace Misuzilla.Applications.AppleWirelessKeyboardHelper
7{
8    internal class KeyEventArgs : EventArgs
9    {
10        public Boolean IsPowerButtonDown;
11        public AppleKeyboardKeys AppleKeyboardKey;
12
13        public KeyEventArgs(Boolean isPowerButtonDown, AppleKeyboardKeys appleKeyboardKey)
14        {
15            IsPowerButtonDown = isPowerButtonDown;
16            AppleKeyboardKey = appleKeyboardKey;
17        }
18    }
19
20    internal class AppleKeyboardEventArgs : EventArgs
21    {
22        public AppleKeyboardKeys AppleKeyState;
23        public Keys Key;
24        public Win32.KeyboardHookEventStruct KeyEventStruct;
25        public Boolean Handled = false;
26
27        public AppleKeyboardEventArgs(AppleKeyboardKeys appleKeyState, Keys key, Win32.KeyboardHookEventStruct keyEventStruct)
28        {
29            AppleKeyState = appleKeyState;
30            Key = key;
31            KeyEventStruct = keyEventStruct;
32        }
33    }
34}
Note: See TracBrowser for help on using the browser.