什么是C#中的热键? [英] What is hotkey in c#?

查看:89
本文介绍了什么是C#中的热键?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C#中的热键是什么?我需要以表单的形式对事件进行操作.

What is hotkey in c#? I need to perfom on the event in my form.

推荐答案

如果您不知道它是什么,您将如何需要它?正是在其中将键与属性中的菜单项相关联,因此按该键组合即可选择该项.我建议您购买一本基本的C#书籍并阅读,以便在开始提出问题之前先了解一些基本知识.这样,您还可以提出更可能导致真正答案的问题,我怀疑您对热键的作用感到困惑,因此您距离实现目标还差得很远.
If you don''t know what it is, how can you need it ? It''s just where you associate a key with a menu item in the properties, so pressing that key combo chooses that item. I would recommend you buy a basic C# book and read it so you know a few basic things about what you''re doing before you start asking questions. That way, you can also ask questions that are more likely to lead to a real answer, I suspect you''re confused about what hotkeys do, and therefore that you''re still no closer to what you want to achieve.


有一篇关于CP的文章,涉及在c#中完成的热键.

可以在这里找到.
启用Hotkey和ShortcutInput用户控件的简单步骤 [
There is an article on CP regarding hotkeys done in c#.

Can be found here.
Simple steps to enable Hotkey and ShortcutInput user control[^]

Plenty other is you just search google. :rolleyes:


类似的讨论 [ ^ ]
启用Hotkey和ShortcutInput用户控件的简单步骤 [代码段:热键(C#) [
Google on Hotkey in C#[^], gave me these:
Similar discussion[^]
Simple steps to enable Hotkey and ShortcutInput user control[^]
Snippet: HotKey (C#)[^]


这篇关于什么是C#中的热键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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