AddCommand(string,EventHandler) Method

Summary
Adds a command to this object.
Syntax
C#
VB
C++
public CommandID AddCommand( 
   string name, 
   EventHandler handler 
) 
Public Overloads Function AddCommand( _ 
   ByVal name As String, _ 
   ByVal handler As EventHandler _ 
) As CommandID 
public: 
CommandID^ AddCommand(  
   String^ name, 
   EventHandler^ handler 
)  

Parameters

name
The name of the command.

handler
The handler to be invoked when the command is selected.

Return Value

CommandID of the new command.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.