Winform中的半透明问题 [英] Semi transparency problem in winform

查看:112
本文介绍了Winform中的半透明问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如何在C#Windows窗体应用程序中制作半透明窗体

我尝试了透明键,使其完全透明.并尝试了不透明度,

不透明度会影响整个表单(带有控件).

我想要具有非透明控件的半透明表单...

我该如何实现...

Hai all,

How to make semi transparent form in C# windows form application

I have tried the Transparency key which makes it full-transparent. and tried Opacity also,

Opacity affects the whole form (with controls).

I want a semitransparent form with non transparent controls...

How do I achieve this...

推荐答案

请参见

您不能将表单半透明,而其他控件则不能.通常,窗体的透明度不能很好地实现,我不建议您使用它.

—SA
You cannot have your form semi-transparent but other controls not. Generally, transparency with Forms is not well implemented, I would not recommend using it.

—SA


这篇关于Winform中的半透明问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆