AddCommand(string,bool,EventHandler) Method

Summary
Adds the command.
Syntax
C#
C++
public CommandID AddCommand( 
   string name, 
   bool enable, 
   EventHandler handler 
) 
vb[VB Syntax] 
Public Overloads Function AddCommand( _ 
   ByVal _name_ As String, _ 
   ByVal _enable_ As Boolean, _ 
   ByVal _handler_ As EventHandler _ 
) As CommandID 
public: 
CommandID^ AddCommand(  
   String^ name, 
   bool enable, 
   EventHandler^ handler 
)  

Parameters

name
The name of the command.

enable
if set to true enable 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 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.