Generates a OnClick event for the control.
[Visual Basic] Sub PerformClick() [C#] void PerformClick(); [C++] void PerformClick() = 0; [JScript] function PerformClick();
This method is called for the button that has focus, or for the default button(if no other button has focus) when the user presses the ENTER key. This method is also called when the user presses the ESC key if the button is set as the cancel button.
IButtonControl Interface | IButtonControl Members | System.WinForms Namespace | OnClick