LoadAsync Method
Collapse the table of content
Expand the table of content

PictureBox.LoadAsync Method ()

 

Loads the image asynchronously.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void LoadAsync()

Besides calling the LoadAsync method, the WaitOnLoad property must be set to false to load an image asynchronously. When you load an image asynchronously, you can handle the LoadProgressChanged event to determine the progress of an image load or the LoadCompleted event to determine when an image load has completed.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft