的WinForms MenuStrip中带下划线的热键信 [英] Winforms MenuStrip Underlined Hotkey Letter

查看:243
本文介绍了的WinForms MenuStrip中带下划线的热键信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常在MenuStrip中的热键字母下划线。 (安培;文件,及放大器;打开,等等)的一个项目我工作的下划线出现在设计师,而不是在运行时。我无法找到控制该属性。任何人在那里知道吗?

Typically the hotkey letters on a MenuStrip are underlined. (&File, &Open, etc) On a project I'm working on the underline shows up in the designer, but not at run time. I can't find the property that controls this. Anyone out there know?

推荐答案

在Windows中,有一个设置是否显示下划线。要更改设置,

In Windows, there is a setting whether or not to show the underline. To change the setting,

  1. 右键单击桌面上
  2. 选择属性
  3. 单击外观选项卡上的
  4. 单击效果按钮
  5. 取消选中标记为隐藏下划线的字母的键盘导航框

这篇关于的WinForms MenuStrip中带下划线的热键信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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