Here is a handy chunk of code for cross thread updates to UI.
public void MyUIMethodCalledFromWorkerThread(string message)
{
BeginInvoke((Action)delegate
{
someControl.Text = message;
});
}
Friday, 15 April 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment