Background Worker How To
问题 I'm trying to implement background worker into my program, so that it wont freeze when i run the program and starts retrieving the data I need. I'm not quite sure how background worker works. 回答1: Background workers are threads that run in the background and do work without interrupting/blocking your main thread. You can read more here. In quick terms: In DoWork do your blocking operation. Whenever you can, report how far through you are with the operation using (sender as BackgroundWorker)