Trigger Backgroundworker Completed event.
- by fireBand
Hello,
I am trying to display the progress bar(marque) in a separate form (progressForm) while i do some calculation in background.
I know the typical way of doing it is to include the calculation in background worker and show progressForm in main thread. This approach how ever will lead to lot of synch issues in my application hence I am showing the progressForm using progressForm.ShowDialog() inside the background worker process. But I need to trigger the Completed event with in the application to close the form.
Is this possible?
Thanks in advance.