Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows Forms CrossThread Messaging Exception
- private void UpdateText(string text)
- {
- if (textBox1.InvokeRequired)
- textBox1.Invoke(new Action(() => UpdateText(text)));
- else
- textBox1.Text = text;
- }
Add Comment
Please, Sign In to add comment