开发者

Transparent Form Background

I tried to se开发者_JAVA技巧t backcolor to transparent by solution given at msdn but failed is there any way to make background transparent

http://msdn.microsoft.com/en-us/library/wk5b13s4(VS.71).aspx


Yes, set the form's TransparencyKey property. Make the BackColor the same value. You need to pick a color that won't appear anywhere else in the form. Color.Fuchsia is a good choice, it's a fuchsed-up color.

This isn't a good idea for a splash screen. The point of having one is that the user can see it. The linked MSDN article is only appropriate for (some) child controls, not the form.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜