I am developing one Windows forms application using .Net 2005. I have a requirement to apply transparency to one usercontrol which is placed on a form.
I am able to apply transparency to a Form as it has Opacity property. But, I am not able to apply transparency to either usercontrol or to other controls like button, label and etc.,
Please suggest me on this.
Loading
Hirendra SisodiyaPosted Mar 5, 2010, 1:29 AM
http://www.c-sharpcorner.com/UploadFile/Nildo%20Soares%20de%20Araujo/TransparentControls11152005074108AM/TransparentControls.aspx
Amit ChoudharyPosted Mar 5, 2010, 12:37 AM
place all control in a panel in your user control and
Try setting your panel's background color to a Color.FromArgb
you can the control the opacity by changing the alpha level.
Please mark the answer if it helps you.