CommandBarEventsClass::Click Event
Visual Studio 2015
This API supports the product infrastructure and is not intended to be used directly from your code.
Occurs when the OnAction property for the corresponding CommandBarControl object is set or returned.
Assembly: EnvDTE (in EnvDTE.dll)
public: event _dispCommandBarControlEvents_ClickEventHandler^ Click { virtual void add(_dispCommandBarControlEvents_ClickEventHandler^ value); virtual void remove(_dispCommandBarControlEvents_ClickEventHandler^ value); }
Use CommandBarEvents.Click.
Public Sub CommandBarEvents_Click(ByVal CommandBarControl As Object, ByRef handled As Boolean, ByRef CancelDefault As Boolean) Handles CommandBarEvents.Click MsgBox("test") End Sub
Show: