NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ToolBar.OnButtonClick

Actually goes ahead and fires the buttonClick Event. Inheriting classes should override this in favour of listening to the event. They should not, however, forget to call base.OnButtonClick(e) in order to ensure that all external listeners still receive the event.

[Visual Basic]
Overridable Protected Sub OnButtonClick( _
   ByVal e As ToolBarButtonClickEventArgs _
)
[C#]
protected virtual void OnButtonClick(
   ToolBarButtonClickEventArgs e
);
[C++]
protected: virtual void OnButtonClick(
   ToolBarButtonClickEventArgs* e
);
[JScript]
protected function OnButtonClick(
   e : ToolBarButtonClickEventArgs
);

Parameters

e
ToolBarButtonClickEventArgs object with the info

See Also

ToolBar Class | ToolBar Members | System.WinForms Namespace