Control.InvokeGotFocus(Control, EventArgs) Method

Definition

Raises the GotFocus event for the specified control.

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)

Parameters

toInvoke
Control

The Control to assign the event to.

e
EventArgs

An EventArgs that contains the event data.

Applies to

See also