StartupEventHandler Delegado
Definición
Representa el método que controlará el evento My.Application.Startup
.Represents the method that will handle the My.Application.Startup
event.
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)
Parámetros
- sender
- Object
Origen del evento.The source of the event.
Objeto StartupEventArgs que contiene los datos del evento.A StartupEventArgs object that contains the event data.
Ejemplos
WindowsFormsApplicationBase.Startup
Comentarios
En Visual Basic, no es necesario trabajar explícitamente con este delegado.In Visual Basic, you do not need to work with this delegate explicitly. Para obtener más información, vea Startup.For more information, see Startup.
Métodos de extensión
GetMethodInfo(Delegate) |
Obtiene un objeto que representa el método representado por el delegado especificado.Gets an object that represents the method represented by the specified delegate. |