OnButtonClick Method
Calls the ButtonClick event handlers when the button is clicked.
Syntax
Visual Basic Overridable Protected Function
OnButtonClick(
ByVal sender As object,
ByVal e As EventArgs
) As boolC# protected virtual bool
OnButtonClick(
object sender,
EventArgs e
);Managed C++ protected: virtual bool
OnButtonClick(
object sender,
EventArgs e
);JScript protected function
OnButtonClick(
sender : object,
e : EventArgs
);
Parameters
sender Required. The source object. e Required. An EventArgs object that contains the event data.
Return Value
Returns one of the following possible values.
false
Event does not bubble. true
Event bubbles.
Applies To
TOOLBARCHECKGROUP
See Also