C#/WPF

다른 스레드가 이 개체를 소유하고 있어 호출한 스레드가 해당 개체에 액세스할 수 없습니다.

퓨어레드 2012. 4. 18. 10:42

출처 : http://golee07.tistory.com/339

 

Dispatcher.Invoke(DispatcherPriority.Normal, new Action(delegate
{
 textbox.Text = "크로스 쓰레드 해결!";
}));