title: c# thread and a waiting form
body: <p>I connect to a webserive. While the webservice is connected i want to have a waiting form with an animated gif inside of it. The waiting form is correctly displayed but the animated give is not animated it is fixed.</p>
  
  <p>Can anybody help me. I have already tried : DoEvents but the gif is still not animated.    </p>
  
  <pre><code>        // Create the new thread object
          Thread NewThread = new Thread(new ThreadStart(RunThread));           
  
          // Start the new thread.
          NewThread.Start();
  
          // Inform everybody that the main thread is waiting
          FRM_Wait waitingDialog = new FRM_Wait();
          waitingDialog.Show();
          waitingDialog.Activate();
          Application.DoEvents(); 
  
          // Wait for NewThread to terminate.
          NewThread.Join();
  
          // And it's done.
          waitingDialog.Close();
          MessageBox.Show("Upload erfolgreich erledigt.", "Upload Erfolgreich",
               MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 
      }
  
      public void RunThread()
      {         
           mfsportservicedev.ServiceSoapClient servicedev = new mfsportservicedev.ServiceSoapClient();
  
          int status = servicedev.addEvent(videosNames, videos);         
      }
  </code></pre>