Title: Windows Forms-Lesson 7-Implementing the Start button that triggers the RunWorkerAsync and the Cancel button that triggers the CancelAsync
Duration: 16 minutes
Summary: This video continues the discussion of BackgroundWorker process. We start by creating two buttons that start the worker process and cancel the worker process. We implement the Start button that triggers the RunWorkerAsync, and the Cancel button that triggers the CancelAsync. RunWorkerAsync will call backgroundWorker_DoWork behind the scene. backgroundWorker_RunWorkerCompleted will check how the process completed (did it finish, or was it cancelled by the user?).
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: Windows Forms and .NET 3.5
Keywords: Form, BackgroundWorker, BackgroundWorker_DoWork, BackgroundWorker_RunWorkerCompleted, Argument, Result, Cancel, DateTime, CancelAsync, RunWorkerAsync.









See the prices for this post in Mr.Bool Credits System below: