Share via


Control.InvokeOnClick(Control, EventArgs) Metode

Definisi

Menaikkan Click peristiwa untuk kontrol yang ditentukan.

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

Parameter

toInvoke
Control

Control untuk menetapkan Click peristiwa.

e
EventArgs

Yang EventArgs berisi data peristiwa.

Berlaku untuk