Updating a Showdialog Form Dymanically
Posted on 2011-09-12
I'm in the midst of writing a issues tracking app. I've got to the point where all information is captured and ready to be written back to the database, or copied to a file share. I was hoping to display a small form that tracks the progress of the issue save, that would prevent the use closing the app till the save was confirmed.
I've created the progress form programmatically and displayed it by showdialog. The issue I've run into is rather a basic one, while the dialog form in being displayed I cannot do anything else. I believe there are two ways forward (happy to be told of more) 1) Create a background thread to perform each of the tasks that need doing, 2) Don't use the showdialog method, use the normal form visible method and disable the form control box.
Any suggestions on the best way forward?