One of the problems that I constantly see with Winforms applications is that the GUI thread is stuck while a long-running task is running or just plain stops refreshing (yes, I know – needs threading).
Is there a code template/design pattern I can use when reacting to mouse clicks or button presses? Should there be a processing thread always running in the GUI app?
Basically, how do I write a great Winforms Application that is easy to maintain and doesn’t have any quirky refresh bugs?
BackgroundWorker