J
Jonathan Wood
I didn't realize this but it appears that calling the
BackgroundWorker.ReportProgress method from the DoWork event returns before
the ProgressChanged event is handled.
This means that if I pass a detailed status object to the event, it's
possible that the DoWork handler could make changes to this status object
before the ProgressChanged event has reported that status.
Can someone confirm my understanding is correct, and is there a
straight-forward way to block DoWork until the event has been handled?
Thanks.
Jonathan
BackgroundWorker.ReportProgress method from the DoWork event returns before
the ProgressChanged event is handled.
This means that if I pass a detailed status object to the event, it's
possible that the DoWork handler could make changes to this status object
before the ProgressChanged event has reported that status.
Can someone confirm my understanding is correct, and is there a
straight-forward way to block DoWork until the event has been handled?
Thanks.
Jonathan