Method OnToolClick
OnToolClick(object?, EventArgs)
Handles the event when a tool is clicked.
protected virtual void OnToolClick(object? sender, EventArgs e)
Parameters
senderobjectThe source of the event, typically the tool that was clicked.
eEventArgsAn EventArgs instance containing the event data.
Remarks
This method is intended to be overridden in a derived class to provide custom handling for tool click events. The base implementation closes the popup if button is clicked.