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#应用程序,只要我按下CTRL+1键,它就会执行特定的操作。但问题是CTRL+1方法仅在表单处于焦点时才有效。当我将表单最小化到系统托盘时,CTRL+1不起作用。任何人都可以告诉我如何跟踪按下的键,即使表单被最小化?