Backgroundworker Class
-
I am using Background worker class in my application to retrieve the some files in system but filenames are not populated in grid....... Please Help tony
The background worker and the UI run on separate threads. In order to send results to the UI from the backgroundworker you can use the ReportProgress method of the background worker. In the UI you will need to handle this event to add new items to the grid. Or you can return the results in the RunWorkerCompleted method than have the UI update the grid.
Mike Lasseter
-
The background worker and the UI run on separate threads. In order to send results to the UI from the backgroundworker you can use the ReportProgress method of the background worker. In the UI you will need to handle this event to add new items to the grid. Or you can return the results in the RunWorkerCompleted method than have the UI update the grid.
Mike Lasseter