static void Main(string[] args) { var hw = new HotkeyWrapper(); //hw.AddProfile("Default"); //hw.SetHotkey("hk1", 65, new Action<bool>((value) => //{ // Console.WriteLine("Hotkey 1 Value: " + value); //})); //hw.SetHotkey("hk2", 66, new Action<bool>((value) => //{ // Console.WriteLine("Hotkey 2 Value: " + value); //})); hw.BindHotkey("hk1", new Action <bool>((value) => { Console.WriteLine("Hotkey 1 Value: " + value); })); while (true) { Thread.Sleep(100); } }
public aa(HotkeyWrapper A_0) { this.a = A_0.get_AltState(); this.b = A_0.get_ControlState(); this.c = A_0.get_Description(); this.d = A_0.get_ShiftState(); this.e = A_0.get_Title(); this.f = A_0.get_VirtualKey(); }