←Select platform

AddCommand(String,Boolean,EventHandler) Method

Summary

Adds the command.

Syntax

C#
VB
C++
public CommandID AddCommand(  
   string name, 
   bool enable, 
   EventHandler handler 
) 
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom.Common Assembly
Click or drag to resize