简体   繁体   中英

VS2010: ToolStripContainer with Washed Out StatusStrip on Bottom (Win7, Winform)

I have a Windows Form designed with Visual Studio 2010.

It has a ToolStripContainer with a StatusStrip control placed on the bottom.

From the Visual Studio IDE's Designer, the control looks fine:

设计师视角

When I run the application, the StatusStrip object on the bottom becomes transparent/opaque, and is very hard to read. This project is only about 2 weeks old, and I have not done anything to monkey with the transparency or opacity of any of the controls.

What could be causing this? How would I debug it?

运行视图

EDIT:

So, I did a search on my Current Project on the control's name ( statusStrip1 ). Unfortunately, there is very little information. I also ran a search on the ToolStripContainer , but it had roughly the same information - nothing that should cause the display to be transparent. The StatusStrip search result is shown below:

查找结果

You won't believe this.

I stopped this problem by setting the WinForm 's TransparencyKey to Fushsia (it was set on Transparent ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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