BackgroundWorker in VS.net 2005
BackgroundWorker in VS.net 2005 There are many types of operations that can take a long time to execute. For example: Downloader, File downloads and uploads (including for peer-to-peer applications) , Complex local Computing and Database transactions, Local disk access, given its slow speed relative to memory access Operations like these can cause your user interface to hang while they are running. When you want a responsive UI and you are faced with long delays associated with such operations, the BackgroundWorker component provides a convenient solution. The BackgroundWorker component gives you the ability to execute time-consuming operations asynchronously ("in the background"), on a thread different from your application's main UI thread. To use a BackgroundWorker, you simply tell it what time-consuming worker method to execute in the background, and then you call the RunWorkerAsync method. Your calling thread continues to run normally while the worker method runs as...