Look, you have not explained your problem properly, so I can't tell exactly what problem you are getting.
Panel
's color is by default transparent
but for your convenience you can set the background as transparent
.
Here is the code:
Panel1.BackColor = Color.Transparent
Or, if your form's backcolor
is a plain color, you can try the following:
Panel1.BackColor = Form1.BackColor
Hope it works perfectly!