BCGControlBar Library for .NET
OnCommandButtonExecuteCommand Method




An object related to the event.

An ExecuteCommandEventArgs that contains the event data.

Raises ExecuteCommand event, which occurs when the user clicks the toolbar button. Executes a set of commands related to this command button.
Syntax
'Declaration
 
Public Sub OnCommandButtonExecuteCommand( _
   ByVal sender As Object, _
   ByVal e As ExecuteCommandEventArgs _
) 
'Usage
 
Dim instance As ToolbarButton
Dim sender As Object
Dim e As ExecuteCommandEventArgs
 
instance.OnCommandButtonExecuteCommand(sender, e)
public void OnCommandButtonExecuteCommand( 
   object sender,
   ExecuteCommandEventArgs e
)
public: void OnCommandButtonExecuteCommand( 
   Object* sender,
   ExecuteCommandEventArgs* e
) 
public:
void OnCommandButtonExecuteCommand( 
   Object^ sender,
   ExecuteCommandEventArgs^ e
) 

Parameters

sender
An object related to the event.
e

An ExecuteCommandEventArgs that contains the event data.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ToolbarButton Class
ToolbarButton Members

Send Feedback