Well, I've developed a working sample. It's a form which contains a picturebox. A number of coloured dots bounce around inside the picturebox.
There are buttons to add and remove dots, a scollbar to adjust the animation speed, a button to pause/continue the animation, and a checkbox to turn erasing of the dots on and off. If you turn the "tails" on, the dots aren't erased each time things are drawn, so they leave a trail behind. It help to show off the colour-cycling.
Sorry, I got a bit carried away.
Unfortunately, I'm not sure whether you will be able to make any use of it, but perhaps you can get some ideas from it.
First, I'll see whether I can attach a copy of the zipped project. Stay tuned...
How about that, it worked!
The zip contains a compiled EXE you should be able to run, so you can see what I'm talking about, anyway. I hope the code may give you some ideas, though it's probably not very good.
There are buttons to add and remove dots, a scollbar to adjust the animation speed, a button to pause/continue the animation, and a checkbox to turn erasing of the dots on and off. If you turn the "tails" on, the dots aren't erased each time things are drawn, so they leave a trail behind. It help to show off the colour-cycling.
Sorry, I got a bit carried away.
Unfortunately, I'm not sure whether you will be able to make any use of it, but perhaps you can get some ideas from it.
First, I'll see whether I can attach a copy of the zipped project. Stay tuned...
How about that, it worked!
The zip contains a compiled EXE you should be able to run, so you can see what I'm talking about, anyway. I hope the code may give you some ideas, though it's probably not very good.
Comment