StartupEventHandler 代理人

定義

表示處理 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)

參數

sender
Object

事件的來源。

e
StartupEventArgs

包含事件資料的 StartupEventArgs 物件。

範例

WindowsFormsApplicationBase.Startup

Visual Basic 應用程式模型概觀

備註

在 Visual Basic 中,您不需要明確使用此委派。 如需詳細資訊,請參閱Startup

擴充方法

GetMethodInfo(Delegate)

取得表示特定委派所代表之方法的物件。

適用於