Leadtools.Dicom.Common

AddCommand(String,Boolean,EventHandler) Method

Show in webframe





The name of the command.
if set to true enable the command.
The handler to be invoked when the command is selected.
Adds the command.
Syntax
public CommandID AddCommand( 
   string name,
   bool enable,
   EventHandler handler
)
'Declaration
 
Public Overloads Function AddCommand( _
   ByVal name As String, _
   ByVal enable As Boolean, _
   ByVal handler As EventHandler _
) As CommandID
'Usage
 
Dim instance As DicomEditableObject
Dim name As String
Dim enable As Boolean
Dim handler As EventHandler
Dim value As CommandID
 
value = instance.AddCommand(name, enable, handler)

            

            
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

Requirements

Target Platforms

See Also

Reference

DicomEditableObject Class
DicomEditableObject Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features