A New Chicken
A New Chicken

Reputation: 703

Add PNG image to picturebox dynamically?

I can't add a PNG image that contains alpha chanel into a picturebox dynamically by code because it always replace the transparent area with the black color. Is there a way to do it?

Upvotes: 0

Views: 1647

Answers (1)

Nick Larsen
Nick Larsen

Reputation: 18877

Have you tried setting the back color of the control to transparent?

Upvotes: 1

Related Questions