In a Windows Forms application is a panel with a PictureBox on it; the image of that PictureBox is an animated gif.
If I set panel.Enabled = False
, the animation stops.
What is the best way to keep the animation?
One way would be to override the OnPaint-Method and use ImageAnimator.Animate (something like described here I have a problem with a picturebox with animation gif, it is not move, by c# code)
I really hope there is a better way.