如何使用键盘快捷键组合运行Window Form应用程序? [英] How to run a Window Form application with a keyboard shortcut combination?

查看:75
本文介绍了如何使用键盘快捷键组合运行Window Form应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用键盘快捷键组合运行Window Form应用程序(.exe).请帮我.如何实现.
请分享一些想法,以便我可以做到.

在此先感谢

解决方案

我不确定Windows中是否有任何热键功能,在这种情况下,您需要编写某种系统范围的钩住按键并运行您的应用程序.显然,在应用程序运行之前,您的应用程序中的所有代码都将无法运行

[ 解决方案

I am not sure there''s any sort of hotkeys functionality in Windows, in which case, you would need to write some sort of system wide hook to catch the keypress and run your app. Any code in your app will not run, until the app runs, clearly

This[^] is what you need.


这篇关于如何使用键盘快捷键组合运行Window Form应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆