[英]C# win form transparency
I am using C# to make my desktop applications. 我正在使用C#制作桌面应用程序。 But I want to make more graphical applications that have full transparency backgrounds and different levels of transparency for picture box controls. 但是我想制作更多的图形应用程序,这些应用程序具有完全透明的背景并且对图片框控件具有不同的透明度。 Basically, not cookie cutter opacity of removing a solid color. 基本上,不是切饼刀去除纯色的不透明性。
How can I accomplish this with C#? 如何使用C#完成此操作?
This should help: 这应该有助于:
http://www.c-sharpcorner.com/UploadFile/scottlysle/XparentFormsCS10282007212944PM/XparentFormsCS.aspx http://www.c-sharpcorner.com/UploadFile/scottlysle/XparentFormsCS10282007212944PM/XparentFormsCS.aspx
also 也
form2.Opacity = .x; form2.Opacity = .x; where x is percentage of transparency or transparency can be directly edited in appearance property of form in case you are using VSTO 其中x是透明度的百分比,或者如果您使用VSTO,则可以在窗体的外观属性中直接编辑透明度
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.