简体   繁体   中英

C# win form transparency

I am using C# to make my desktop applications. 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#?

It is simple, just go ahead with WPF. This gived me a good start point.

This should help:

http://www.c-sharpcorner.com/UploadFile/scottlysle/XparentFormsCS10282007212944PM/XparentFormsCS.aspx

also

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

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