コード例 #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            inputDevice = new InputDevice(Handle);
            inputDevice.EnumerateDevices();

            handler = new InputDevice.DeviceEventHandler(inputDevice_KeyPressed);

            IntervalTimer = new Timer();
        }
コード例 #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            inputDevice = new InputDevice(Handle);
            inputDevice.EnumerateDevices();

            handler = new InputDevice.DeviceEventHandler(inputDevice_KeyPressed);

            IntervalTimer = new Timer();
        }