Question : Transparent Form (Only) in C#

I was just wondering how to make a form transparent (as in through 0% Opacity) but having all the controls showing up as usual (without becoming transparent too).. Thus showing only the controls without the back of the form... Thanks!

Answer : Transparent Form (Only) in C#


To not to make controls transparent but only the form, use TransparencyKey  property like:

public Form2()
        {
            InitializeComponent();

            //this.Opacity = 0.5;

            this.TransparencyKey = BackColor;
        }
Random Solutions  
 
programming4us programming4us