简体   繁体   English

更改菜单条颜色 .NET FRAMEWORK C#

[英]Change menu strip color .NET FRAMEWORK C#

I'm working with .NET FRAMEWORK 4.8 with C# WinForms , and I can't figure out how I could make a custom menu strip that appears on click, like the one below我正在使用 .NET FRAMEWORK 4.8 和C# WinForms ,我不知道如何制作一个点击时出现的自定义菜单条,如下所示

这个 . .

To change the background color myMenuStrip.BackColor = Color.LightGreen;更改背景颜色myMenuStrip.BackColor = Color.LightGreen; . . To change the foreground color myMenuStrip.ForeColor = Color.White;更改前景色myMenuStrip.ForeColor = Color.White;

Also you can move it inside your winforms -> Check this question -> Tool, menu strip - how do I change their locations in c# winforms?你也可以将它移动到你的 winforms 中 -> 检查这个问题 -> 工具,菜单条 - 如何在 c# winforms 中更改它们的位置?

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

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