I have 3 pictures, each one has a colored circle in it. The 3 pictures are red, green and yellow.
I’m putting it in a PictureBox in a windows form. I want to switch these images from green to yelow to red or otherwise.
Is there anything I can make them fade to each other instead of switching them the normal way?
I know this could be done using flash/j-query easily, but I was wondering how far I can achieve .
Something similar in windows forms using normal windows forms functionality.
Note: I’m using .net framework 4 and windows forms.
See Transition of images in Windows Forms Picture box. There is a solution that transitions the images using a timer on this page.
Code from site:
Build your project. You can now drop a
BlendPanelfrom the top of the toolbox onto your form. Here’s a sample program that uses it:You’ll need to modify the
Bitmap.FromFile()calls. Build and run. You should see the displayed image smoothly morph from your first image to your second image without any flickering. Lots of ways to tweak the code, have fun.