Quantcast
Channel: How to stop PictureBox GIF animation after the first loop C#? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

How to stop PictureBox GIF animation after the first loop C#?

$
0
0

I put a GIF animation inside a PictureBox and by default my animation is continuously looping. I need to stop it after the first loop by doing this pictureBox1.Enabled=false or manually change the GIF animation to last frame of this animation, but how can i catch the moment of first loop ending?

I found this question (click), but i didnt understand how can i use it, could anyone make it clear or describe another way of doing this?


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>