PictureBoxArray.LoadProgressChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the progress of an asynchronous image-loading operation has changed.
public:
event System::ComponentModel::ProgressChangedEventHandler ^ LoadProgressChanged;
public event System.ComponentModel.ProgressChangedEventHandler LoadProgressChanged;
member this.LoadProgressChanged : System.ComponentModel.ProgressChangedEventHandler
Public Custom Event LoadProgressChanged As ProgressChangedEventHandler
Public Event LoadProgressChanged As ProgressChangedEventHandler
Event Type
Remarks
The LoadProgressChanged
event occurs only when the image is loaded asynchronously by using one of the LoadAsync methods. The progress percentage of the image load is reported with the ProgressPercentage property of the ProgressChangedEventArgs.
Handle the LoadProgressChanged
event if you want to reflect the progress of an asynchronous image-loading operation in a ProgressBar or similar control. Use the ProgressPercentage property of the ProgressChangedEventArgs to update the progress value.
For more information about how to handle events, see Handling and Raising Events.
Note
Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.