Elegant solution to commonly encountered issue:
this.Dispatcher.Invoke((Action)(()
=>
{
//add your cross-threads operations here for example
//richTextBoxOut.AppendText(text);
}));
No comments:
Post a Comment