简体   繁体   English

VB.NET-功能区显示黑色区域

[英]VB.NET - Ribbon Shows Black Area

I need help with my vb.net program. 我的vb.net程序需要帮助。 I've added a ribbon bar to the top of my main form using the DotNetBar and the problem is that it shows a black rectangle area instead of the default blue color. 我使用DotNetBar在主窗体的顶部添加了一个功能区栏,问题是它显示的是黑色矩形区域,而不是默认的蓝色。 This only happens when I am using Windows 7 aero and is not maximized. 这仅在我使用Windows 7 Aero且未最大化时发生。

替代文字

Anyone have any suggestions? 有人有什么建议吗?

Just a guess, but it looks like DotNetBar is meant to be used without the standard Form chrome. 只是一个猜测,但看起来DotNetBar应该在没有标准Form chrome的情况下使用。 Try setting your form's border style to None . 尝试将表单的边框样式设置为None

Also, make sure you're following the directions and using a DotNetBar form control: http://www.devcomponents.com/kb2/?p=703 另外,请确保遵循说明并使用DotNetBar表单控件: http : //www.devcomponents.com/kb2/? p=703

Hope this helps! 希望这可以帮助!

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

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