Guest User

Untitled

a guest
Aug 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. Windows Forms CrossThread Messaging Exception
  2. private void UpdateText(string text)
  3. {
  4. if (textBox1.InvokeRequired)
  5. textBox1.Invoke(new Action(() => UpdateText(text)));
  6. else
  7. textBox1.Text = text;
  8. }
Add Comment
Please, Sign In to add comment