Animated Gif in form using C#
<p>In my project, whenever a long process in being executed, a small form is displayed with a small animated gif file.  I used this.Show() to open the form and this.Close() to close the form. 
Following is the code that I use.</p>

<pre><code>public partial class PlzWaitMessage : Form
{
   public PlzWaitMessage()
   {
      InitializeComponent();
   }

   public void ShowSpalshSceen()
   {
      this.Show();
      Application.DoEvents();
   }

   public void CloseSpalshScreen()
   {
      this.Close();
   }
}
</code></pre>

<p>When the form opens, the image file do not immediately start animating.  And when it does animate, the process is usually complete or very near completion which renders the animation useless.  Is there a way I can have the gif animate as soon as I load the form?</p>
