私はwebseriveに接続します。 Webサービスが接続されている間、私はそれの中にアニメーションGIFを持つ待っているフォームを持っていると思います。待機中のフォームは正しく表示されますが、アニメーションは固定されていません。C#スレッドと待ち受けのフォーム
誰でも助けてくれますか?私はすでに試みました:DoEventsしかし、GIFはまだアニメーションされていません。
// 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);
}
GIFはどこでアニメーション化されていますか?彼の親は誰ですか?私はアニメーションgifがどこにあるのかわからない。 – gbianchi