BackgroundWorker、ThreadPool、Threadいずれのクラスによって、Silverlightで処理のスレッドを作成できます。BackgroundWorkerクラスは、簡単にUIスレッドと通信できますので、よく使われています。 this.Dispatcher.BeginInvoke(delegate() { ... } 方法二: SynchronizationContext.Current.Post(this.SetText, "strings"); private void SetText(object state) { this.textBox2.Text = state as string; } 本当にほしかったのはこういうブログだったんだ コメント: |