Leadtools.Dicom.Common
LEAD Technologies, Inc

AddCommand(String,EventHandler) Method






The name of the command.
The event handler that peforms the actions for the command.
Adds a command to the property grid.
Syntax
public CommandID AddCommand( 
   string name,
   EventHandler handler
)
'Declaration
 
Public Overloads Function AddCommand( _
   ByVal name As String, _
   ByVal handler As EventHandler _
) As CommandID
'Usage
 
Dim instance As DicomPropertyGrid
Dim name As String
Dim handler As EventHandler
Dim value As CommandID
 
value = instance.AddCommand(name, handler)
public CommandID AddCommand( 
   string name,
   EventHandler handler
)
 function Leadtools.Dicom.Common.Editing.Controls.DicomPropertyGrid.AddCommand(String,EventHandler)( 
   name ,
   handler 
)
public:
CommandID^ AddCommand( 
   String^ name,
   EventHandler^ handler
) 

Parameters

name
The name of the command.
handler
The event handler that peforms the actions for the command.

Return Value

The CommandID associated with the command.
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

DicomPropertyGrid Class
DicomPropertyGrid Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 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