开发者

Handling Key Press Events in C#

开发者 https://www.devze.com 2023-03-11 17:56 出处:网络
I am developing an application in C#. Whenever s开发者_如何学JAVAomeone presses keys like Ctrl + C or Ctrl + 1 etc, i want the application to capture them and perform some action based on the key comb

I am developing an application in C#. Whenever s开发者_如何学JAVAomeone presses keys like Ctrl + C or Ctrl + 1 etc, i want the application to capture them and perform some action based on the key combination that is pressed.

What is the way of achieving that ?


If you are looking for the windows application and want capture event on the windows form you can check this : How to capture shortcut keys in Visual Studio .NET

0

精彩评论

暂无评论...
验证码 换一张
取 消