How do you stop an animated GIF after a single loop in a picture box control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a C# program that loads a random animated GIF file onto a picture box control at run time. The animated GIF's being loaded are designed to run only a single loop. However when they are loaded onto the picture box they loop continuously instead of stopping after the first loop. How do I get them to stop after one loop? Is their some picture box control property that I can set to ensure that the animated GIF run as designed? (note: the same problem occurred when I tried using the ImageAnimator class

Note: When I open up the same animated GIF files using a web browser or MS Window Picture Viewer utility, they run only a single loop as designed.
 
Back
Top