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# Excel 项目。该Excel.Application对象仅提供.OnKey与键盘交互的方法。这有效地给了我一个 KeyDown 事件。但我需要一个 KeyUp 事件。任何想法如何实现这一目标?
Excel.Application
.OnKey
我找到了一个真正适用于 Excel 的解决方案。我轻松地使用了这个GlobalMouseKeyHook库!