- toInvoke
 - The System.Windows.Forms.Control to assign the System.Windows.Forms.Control.Click event to.
 
- e
 - An System.EventArgs that contains the event data.
 
| Visual Basic (Declaration) | |
|---|---|
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> Protected Sub InvokeOnClick( _ ByVal toInvoke As Control, _ ByVal e As EventArgs _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As Medical3DControl Dim toInvoke As Control Dim e As EventArgs instance.InvokeOnClick(toInvoke, e)  | |
| C# | |
|---|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] protected void InvokeOnClick( Control toInvoke, EventArgs e )  | |
| C++/CLI | |
|---|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] protected: void InvokeOnClick( Control^ toInvoke, EventArgs^ e )  | |
Parameters
- toInvoke
 - The System.Windows.Forms.Control to assign the System.Windows.Forms.Control.Click event to.
 - e
 - An System.EventArgs that contains the event data.
 
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
  
   
                           
Copy Code