Problem with fading pictures
-
I've created a control inherited from PictureBox, same functionality, but just added support for fading the images. I have ImageA and ImageB properties. In ImageA puts a image just to fade it self, and when you put a image in ImageB, then ImageA fade to ImageB. This works when I manually do that in design and in runtime, but when I use it in PictureBox array it doesn't work. On the same form, I have two controls with fading stuff, and when I use that inherited PictureBox, those two controls doesn't work - it just hang. I want to have a mouse over/out (no fading at that time) stuff when I over my mouse on those picture box arrays (this works with ordinary picture box control), and when I click on particular picture box, I want picture to fade it self, or to fade from one (ImageA) to another (ImageB) if ImageB isn't null. I have a void which checks whether on clicked picture is drawn any images or not. Thanks.