HostedControl Class
This control makes it easier to create WinForm applications by wrapping the most common operations into a base class.
Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)
Usage
'Usage
Dim instance As HostedControl
Syntax
'Declaration
<SmartPartAttribute> _
Public Class HostedControl
Inherits UserControl
Implements IHostedApplication4, IHostedApplication3, IHostedApplication2, IHostedApplication
[SmartPartAttribute]
public class HostedControl : UserControl, IHostedApplication4, IHostedApplication3, IHostedApplication2,
IHostedApplication
[SmartPartAttribute]
public ref class HostedControl : public UserControl, IHostedApplication4, IHostedApplication3, IHostedApplication2,
IHostedApplication
/** @attribute SmartPartAttribute() */
public class HostedControl extends UserControl implements IHostedApplication4, IHostedApplication3,
IHostedApplication2, IHostedApplication
SmartPartAttribute
public class HostedControl extends UserControl implements IHostedApplication4, IHostedApplication3,
IHostedApplication2, IHostedApplication
Remarks
It would be better to make this an abstract class and have the DoAction( Action ) method also be abstract. However doing so causes the VS 2003 UI designer to not allow drag-n-drop layout which most people will want. Thus, the obvious abstract-ness of this class is not being coded.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.UserControl
Microsoft.Uii.Csr.HostedControl
Microsoft.Uii.Csr.HostedControlEx
Microsoft.Uii.Desktop.Cti.Controls.CtiDesktopManager
Microsoft.Uii.Desktop.Cti.Controls.CtiHostedControl
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
HostedControl Members
Microsoft.Uii.Csr Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.