Search code examples
c#winformsinfragisticspicturebox

GIF Animation not working in Windows Form


I have 2 WinForms

Form2 uses Infragistics ultraTabControl. On Tab Changing im Showing Form1.

In Form1

I have a PictureBox assigned with animated GIF

In Form2

I am displaying Form1 like this.

Form1 frmOne=new Form1();
frmOne.Show();

Problem

GIF is not playing animation.


Solution

  • Solved

    My current Thread is busy to Play GIF Animation.

    I tried So many ways like Application.DoEvents(); etc. But every thing can't helped me.

    The answer in the following Question, which uses Threading is a very great working idea.

    StackOverFlow: Show/Hide Splash Screen

    Thanks for every one.