|
|
|
Cool 
And here is one more little trick:
You can use BackgroundWorker.ReportProgress(...) right within your threaded long running process to pass any sort of data to the GUI thread. Register a method on the BackgroundWorker.ProgressChanged event and it is guaranteed to get invoked in the GUI thread with the data from ReportProgress(...) passed in. For instance you can use it to start/stop your progress bar, throbbler, or update text and grid controls.
Andriy |
06/09/02 - 1:51 am | #
|
|
|
Commenting by HaloScan
|