Sometimes its desirable to get those graphics moving a bit and this control should help you do just that. The control takes advantage of the built in ImageList control and the built in Timer control. The control basically cycles through each image in the ImageList Image Collection and draws them. When it runs out of images it starts again (If Looping is set to true, that is). There is an attempt at double buffering in this control, to reduce the flicker on the screen as we shall see.
The basic use of the control is very simple. Assign an ImageList to the animator, set the timer and call Start.
animator1.TimerTick = 100;
The control paints each image based on an Invalidation event propagated from the timer event:
Some future enhancements to this control are still in order. First, it would be nice if there was a property called Autosize that just read the first image in the sequence and determined the dimensions. Look for a new release on this control in the near future.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: