简体   繁体   English

C#桌面应用程序中Windows窗体上的菜单

[英]Menus on Windows Forms in C# Desktop Applications

I am adding the menu in windows form which is looks like simple but I want menu with silver background just like windows 7 menu. 我正在以Windows形式添加菜单,看起来很简单,但是我希望菜单具有银色背景,就像Windows 7菜单一样。 Please tell me how it is possible? 请告诉我这怎么可能?

There is no way to change the appearance of MenuStrip except for the background color. 除背景色外,无法更改MenuStrip的外观。 So you have to overwrite the MenuStrip or draw your own menu by extending MenuStrip . 因此,您必须覆盖MenuStrip或通过扩展MenuStrip绘制自己的菜单。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM