This post originated from an RSS feed registered with .NET Buzz
by Richard Jonas.
Original Post: Refreshing Progress Bars
Feed Title: Richard Jonas
Feed URL: http://feeds.feedburner.com/blogspot/ouNA
Feed Description: Richard Jonas's blog about .NET, web development and agile methodologies.
I've been having some problems getting a progress bar to refresh, trying various calls to Refresh() and Invalidate() without much success. The solution to this is to create the dialog containing the progress bar in another thread, as described here.
Although the dialog is modeless, it should be displayed using ShowDialog(), not Show().