0

I am attempting to remove a white background from my pictureboxes in my C# Form as can be seen here.

I have already tried to use BackColor = Color.Transparent; , however, this did not work.

Is there another way to go about this? Perhaps a function which would allow me to remove the white color?

Any help appreciated. Thanks!

Luke Xuereb
  • 73
  • 12

2 Answers2

0

You need to use a .png image that's support transparency.

0

Make sure your background in the picture is transparent Then add this code:

this.*picturebox1.Parent = this.Form1**; this.*picturebox1.BackColor = Color.transparent;

Note: * = whatever name that your named your picture box

** = any structure can be, e.g = panel, picture box etc

iDefault
  • 1
  • 1