I found a solution:
if (txtUrl.InvokeRequired) { txtUrl.Invoke(new Action(() => txtUrl.Text = line)); }
No comments:
Post a Comment