Control.InvokeGotFocus(Control, EventArgs) 方法

定義

引發指定之控制項的 GotFocus 事件。

protected:
 void InvokeGotFocus(System::Windows::Forms::Control ^ toInvoke, EventArgs ^ e);
protected void InvokeGotFocus (System.Windows.Forms.Control toInvoke, EventArgs e);
protected void InvokeGotFocus (System.Windows.Forms.Control? toInvoke, EventArgs e);
member this.InvokeGotFocus : System.Windows.Forms.Control * EventArgs -> unit
Protected Sub InvokeGotFocus (toInvoke As Control, e As EventArgs)

參數

toInvoke
Control

要為其指定事件的 Control

e
EventArgs

包含事件資料的 EventArgs

適用於

另請參閱