Leadtools.Dicom.Common.Editing Namespace > DicomEditableObject Class > AddCommand Method : AddCommand(String,EventHandler) Method |
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 DicomEditableObject 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.DicomEditableObject.AddCommand(String,EventHandler)( name , handler )
public: CommandID^ AddCommand( String^ name, EventHandler^ handler )
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