PictureBox trasparency
-
Hi all. I've two picture box overlapping.In it I load .png file (with trasparent border). But i can't see only the first PictureBox. I've read a lot on internet but i haven't find a solution. How can i enable the trasparency? Thanks.
-
Hi all. I've two picture box overlapping.In it I load .png file (with trasparent border). But i can't see only the first PictureBox. I've read a lot on internet but i haven't find a solution. How can i enable the trasparency? Thanks.
Try using a Panel instead to load the png file in. Set it's
BackColor
to toColor.Transparent
. This should do it.Deja View - the feeling that you've seen this post before.
-
Try using a Panel instead to load the png file in. Set it's
BackColor
to toColor.Transparent
. This should do it.Deja View - the feeling that you've seen this post before.
Or try using this wonderfull tutorial: http://www.codeproject.com/KB/GDI-plus/CsTranspTutorial3.aspx[^]
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _______________________________________________________________________________________ My programs never have bugs, they just develop random features. _______________________________________________________________________________________ Computers are so strange, you just yawn good and proper and they've got something new out! R. A.
-
Try using a Panel instead to load the png file in. Set it's
BackColor
to toColor.Transparent
. This should do it.Deja View - the feeling that you've seen this post before.
I've already try to set it as trasparent but it not work.