Επεξεργασία

Κοινή χρήση μέσω


Control.InvokeOnClick(Control, EventArgs) Method

Definition

Raises the Click event for the specified control.

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)

Parameters

toInvoke
Control

The Control to assign the Click event to.

e
EventArgs

An EventArgs that contains the event data.

Applies to