This repository has been archived on 2022-08-05. You can view files and clone it, but cannot push or open issues or pull requests.
CC-Functions/W32/Hooks/KeyboardHookEventArgs.cs

14 lines
309 B
C#
Raw Normal View History

2019-11-10 12:28:29 +01:00
using System;
using System.Windows.Forms;
2019-12-22 16:58:16 +01:00
namespace CC_Functions.W32.Hooks
2019-11-10 12:28:29 +01:00
{
public sealed class KeyboardHookEventArgs : EventArgs
{
2019-12-22 16:58:16 +01:00
public KeyboardHookEventArgs(Keys key) => Key = key;
2019-11-10 12:28:29 +01:00
public Keys Key { get; }
2019-11-29 21:27:24 +01:00
2019-12-22 16:58:16 +01:00
public override string ToString() => Key.ToString();
2019-11-10 12:28:29 +01:00
}
2019-11-29 21:27:24 +01:00
}