Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 C# 创建 WinForm 程序。即使焦点不在程序本身(不在任何表单上),我也想通过组合键盘单击来触发一些功能,例如“Alt+S”或“Alt+Shift+S”。
那可能吗?如果是这样,我应该把函数放在哪里,以及它检测到按钮组合的代码?
谢谢!