Occurs when ReportProgress is called.
public event ProgressChangedEventHandler ProgressChanged
This event is raised when you call the ReportProgress method.
For more information about handling events, see Consuming Events.
The following code example demonstrates the use of the ProgressChanged event to report the progress of an asynchronous operation to the user. This code example is part of a larger example provided for the BackgroundWorker class.
// This event handler updates the progress bar.
private void backgroundWorker1_ProgressChanged(object sender,
this.progressBar1.Value = e.ProgressPercentage;