LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)
LEAD Technologies, Inc

SetItemFeature(IToolStripItemItemProperties) Method







An IToolStripItemItemProperties to be registered. This should be of type System.Windows.Forms.ToolStripItem
Register a System.Windows.Forms.ToolStripItem with a feature to be executed when the item is clicked.
Syntax
public void SetItemFeature( 
   IToolStripItemItemProperties item
)
'Declaration
 
Public Overloads Sub SetItemFeature( _
   ByVal item As IToolStripItemItemProperties _
) 
'Usage
 
Dim instance As WorkstationStripItemFeatureExecuter
Dim item As IToolStripItemItemProperties
 
instance.SetItemFeature(item)
public void SetItemFeature( 
   IToolStripItemItemProperties item
)
 function Leadtools.Medical.Workstation.UI.WorkstationStripItemFeatureExecuter.SetItemFeature(IToolStripItemItemProperties)( 
   item 
)
public: void SetItemFeature( 
   IToolStripItemItemProperties* item
) 
public:
void SetItemFeature( 
   IToolStripItemItemProperties* item
) 

Parameters

item
An IToolStripItemItemProperties to be registered. This should be of type System.Windows.Forms.ToolStripItem
Remarks

If the item is not of type System.Windows.Forms.ToolStripItem this will throw am System.ArgumentException

if the item is of type System.Windows.Forms.ToolStripSplitButton the feature will be executed when the System.Windows.Forms.ToolStripSplitButton.ButtonClick event is fired.
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

WorkstationStripItemFeatureExecuter Class
WorkstationStripItemFeatureExecuter Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.