I have a c# winform app built on .NET 2.0. In a nutshell, the app takes a bunch of user input in a form and runs some business logic and creates 3 output files that are saved on the user's pc.
Once information is input and the user clicks the "go" button, a new form is opened telling the user to "please wait while the app is working." Behind the scenes: once the "please wait" form is loaded, it triggers the background worker to create the files. The RunWorkerCompleted tells the "please wait" form to close and notify the user that it is complete.
The problem: If I run the application and keep focus on the app, everything works well. However, if I run the app, then switch focus to another app (i.e. look at my email) then switch back to my application, it stays frozen on the "please wait" screen.
Hopefully I described this well enough... please let me know what you think might be going on or if you think my design might be flawed. Thanks in advance!