jfo's coding

adventures in windows forms and wpf
Posts
  • jfo's coding

    Updating your RichTextBox safely

    • 5 Comments
    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...
  • jfo's coding

    Control.Invoke hangs on multiproc machines

    • 0 Comments
    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...
  • jfo's coding

    Whidbey help for multithreading woes: CheckForIllegalCrossThreadCalls

    • 3 Comments
    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...
Page 1 of 1 (3 items)