Condividi tramite


StartupEventHandler Delegato

Definizione

Rappresenta il metodo che gestirà l'evento My.Application.Startup.

public delegate void StartupEventHandler(System::Object ^ sender, StartupEventArgs ^ e);
public delegate void StartupEventHandler(object sender, StartupEventArgs e);
type StartupEventHandler = delegate of obj * StartupEventArgs -> unit
Public Delegate Sub StartupEventHandler(sender As Object, e As StartupEventArgs)

Parametri

sender
Object

Origine dell'evento.

e
StartupEventArgs

Oggetto StartupEventArgs contenente i dati dell'evento.

Esempio

WindowsFormsApplicationBase.Startup

Cenni preliminari sul modello di applicazione Visual Basic

Commenti

In Visual Basic non è necessario usare questo delegato in modo esplicito. Per altre informazioni, vedere Startup.

Metodi di estensione

Nome Descrizione
GetMethodInfo(Delegate)

Ottiene un oggetto che rappresenta il metodo rappresentato dal delegato specificato.

Si applica a