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

Answer by Alex Leo for How to stop PictureBox GIF animation after the first...

The solution would be to get the number of frames and then add an event to the picureBox.Paint in order to check how many frames have been rendered.Once that you have reached the number of frames you...

View Article



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

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...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images