May 2005 - Posts
I’ve gotten a few more questions about this after the brief mention about the RichTextBox threading problem . Is it just a rich text box problem? Can I use a TextBox instead? No, unfortunately all windows forms UI, as well as most Win32 UI is not thread
Read More...
Jack asks: I couldn't find where to post the comment for the cross threading problem. While the solution seems to be Control.BeginInvoke/Control.Invoke, There seems is a known issue about Control.Invoke that can cause it to hang up in Control.MarshaledInvoke
Read More...
A somewhat common programming error is to directly call back onto a piece of UI when you’re on the wrong thread. Consider this seemingly innocuous piece of code: System.Timers.Timer t = new System.Timers.Timer(); public Form1() { InitializeComponent();
Read More...