Control.InvokeLostFocus(Control, EventArgs) 方法

定義

引發指定之控制項的 LostFocus 事件。Raises the LostFocus event for the specified control.

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

參數

toInvoke
Control

要為其指定事件的 ControlThe Control to assign the event to.

e
EventArgs

包含事件資料的 EventArgsAn EventArgs that contains the event data.

適用於

另請參閱