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

擴充方法

名稱 Description
GetMethodInfo(Delegate)

取得一個代表指定代理所代表方法的物件。

適用於