Leadtools.Dicom.Common.Editing.Controls Namespace > DicomPropertyGrid Class > AddCommand Method : AddCommand(String,Boolean,EventHandler) Method |
true
enable the command.
'Declaration Public Overloads Function AddCommand( _ ByVal name As String, _ ByVal enable As Boolean, _ ByVal handler As EventHandler _ ) As CommandID
'Usage Dim instance As DicomPropertyGrid Dim name As String Dim enable As Boolean Dim handler As EventHandler Dim value As CommandID value = instance.AddCommand(name, enable, handler)
function Leadtools.Dicom.Common.Editing.Controls.DicomPropertyGrid.AddCommand(String,Boolean,EventHandler)( name , enable , handler )
public: CommandID^ AddCommand( String^ name, bool enable, EventHandler^ handler )
true
enable the command.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