Export (0) Print
Expand All

CommandBarEventsClass.Click Event

This event supports the .NET Framework 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.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

public virtual event _dispCommandBarControlEvents_ClickEventHandler _dispCommandBarControlEvents_Event.Click
J# supports the use of explicit interface implementations, but not the declaration of new ones.
JScript supports the use of events, but not the declaration of new ones.

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

Community Additions

ADD
Show:
© 2014 Microsoft