How to get a combination of keys in c#

后端 未结 5 1315
旧巷少年郎
旧巷少年郎 2020-11-29 10:12

How can I capture Ctrl + Alt + K + P keys on a C# form? thanks

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-29 11:11

    See this great blog post about setting up hotkeys in c#

    • Christian Liensberger » Blog » Installing a global hot key with C#

    There's also a good article that explains all of this here

    • Simple steps to enable Hotkey and ShortcutInput user control - CodeProject

提交回复
热议问题