How can i move png picture over png picture in form ?
-
hi all . in visual studio 2008 . i put 2 png photo in picturebox1 and picuterbox2 .. and give the backcolor for picuterbox1 and picuterbox2 to Transparent then i tray to move picuterbox1 over picuterbox2 with Timer or button pictureBox2.Left = pictureBox2.Left - 10; when the pic1 over pic2 the transparent doesn't work i need a help with it pleas ...
-
hi all . in visual studio 2008 . i put 2 png photo in picturebox1 and picuterbox2 .. and give the backcolor for picuterbox1 and picuterbox2 to Transparent then i tray to move picuterbox1 over picuterbox2 with Timer or button pictureBox2.Left = pictureBox2.Left - 10; when the pic1 over pic2 the transparent doesn't work i need a help with it pleas ...
When an existing component is too complex for me to understand it, or too stupid to do what I expect from it, then I stop using it. PictureBox is a prime example of the latter. Use a double-buffered Panel and paint both images onto it yourself. :)
Luc Pattyn [My Articles] Nil Volentibus Arduum