Leadtools.Medical.Workstation.UI.Factory Namespace > WorkstationUIFactory Class > GetWorkstsationControl Method : GetWorkstsationControl(String,Control) Method |
public Control GetWorkstsationControl( string name, Control defaultControl )
'Declaration Public Overloads Function GetWorkstsationControl( _ ByVal name As String, _ ByVal defaultControl As Control _ ) As Control
'Usage Dim instance As WorkstationUIFactory Dim name As String Dim defaultControl As Control Dim value As Control value = instance.GetWorkstsationControl(name, defaultControl)
public Control GetWorkstsationControl( string name, Control defaultControl )
function Leadtools.Medical.Workstation.UI.Factory.WorkstationUIFactory.GetWorkstsationControl(String,Control)( name , defaultControl )
public: Control* GetWorkstsationControl( string* name, Control* defaultControl )
public: Control* GetWorkstsationControl( string* name, Control* defaultControl )
All UI controls in the Medical Workstation are created using this function. This allows developers to override the default controls with their own custom controls. The name parameter is actually the class name of the control.
To provide your own type of a control. All you need to do is to update the WorkstationUISettings section in the application configuration file with the original controls name and the new type you want to use for that control.
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