PictureBox.OnLoadCompleted(AsyncCompletedEventArgs) PictureBox.OnLoadCompleted(AsyncCompletedEventArgs) PictureBox.OnLoadCompleted(AsyncCompletedEventArgs) PictureBox.OnLoadCompleted(AsyncCompletedEventArgs) Method

Definición

Genera el evento LoadCompleted.Raises the LoadCompleted event.

protected:
 virtual void OnLoadCompleted(System::ComponentModel::AsyncCompletedEventArgs ^ e);
protected virtual void OnLoadCompleted (System.ComponentModel.AsyncCompletedEventArgs e);
abstract member OnLoadCompleted : System.ComponentModel.AsyncCompletedEventArgs -> unit
override this.OnLoadCompleted : System.ComponentModel.AsyncCompletedEventArgs -> unit
Protected Overridable Sub OnLoadCompleted (e As AsyncCompletedEventArgs)

Parámetros

Comentarios

Cuando se genera un evento, se invoca el controlador de eventos a través de un delegado.Raising an event invokes the event handler through a delegate. Para obtener más información, consulte controlar y provocar eventos.For more information, see Handling and Raising Events.

El método OnLoadCompleted también permite que las clases derivadas controlen el evento sin adjuntar ningún delegado.The OnLoadCompleted method also allows derived classes to handle the event without attaching a delegate. Ésta es la técnica preferida para controlar el evento en una clase derivada.This is the preferred technique for handling the event in a derived class.

Notas a los desarrolladores de herederos

Cuando se reemplaza OnLoadCompleted(AsyncCompletedEventArgs) en una clase derivada, asegúrese de llamar a la clase base OnLoadCompleted(AsyncCompletedEventArgs) método para que los delegados registrados reciban el evento.When overriding OnLoadCompleted(AsyncCompletedEventArgs) in a derived class, be sure to call the base class' OnLoadCompleted(AsyncCompletedEventArgs) method so that registered delegates receive the event.

Se aplica a