Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
falseEvent does not bubble. trueEvent bubbles.
Applies To
TOOLBARCHECKGROUP
See Also