标签:csharp mdk for f11 ram rip key highlight str
/// <summary> /// 主界面接受F11时,显示菜单 /// 通过改写Form的ProcessCmdKey实现 /// </summary> /// <param name="msg"></param> /// <param name="KeyData"></param> /// <returns></returns> protected override bool ProcessCmdKey(ref Message msg, Keys KeyData) { if(KeyData == Keys.F11) { this.menuStrip1.Visible = !this.menuStrip1.Visible; } return base.ProcessCmdKey(ref msg, KeyData); }
标签:csharp mdk for f11 ram rip key highlight str
原文地址:http://www.cnblogs.com/my-cat/p/7698803.html