StartupEventHandler 委托

定义

表示 Startup 事件的处理方法。Represents the method that handles the 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)

参数

sender
Object

引发事件的对象。The object that raised the event.

e
StartupEventArgs

事件数据。The event data.

继承
StartupEventHandler

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于