Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
what the use of background worker and how to use it
Posted

Rahul was partly correct in his answer however the part about not being able to access other threads needs correcting.

Using delegates you will be able to access controls from other threads.
This is particularly useful where, for instance, you will be updating a progress bar on your main form from a background worker that is downloading a file and calculating the bytes left to download.

Or you can use "ProgressChanged" event for doing the same instead for creating delegate.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900