Monday, August 6, 2012

Background Worker - Complete Explanation

As requested by a commenter/follower of the blog, I created an example which explains all most all the processes related to the Background worker in .Net. The processes from A - Z is explained as follows,
  • Add a Background worker to the project
To add a background worker to the form you need, drag & drop the component from the Toolbox under the Components section.
  • Allow to Report Current progress or Cancel the background operation
Set the WorkerReportsProgress and WorkerSupportsCancellation properties to "True" in-order to allow the Background worker to allow Report current progress or Cancel the current operation.