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)
Implements
_dispCommandBarControlEvents_Event.ClickUse 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: