ComponentTray Constructor (IDesigner^, IServiceProvider^)

 

Initializes a new instance of the ComponentTray class using the specified designer and service provider.

Namespace:   System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)

public:
ComponentTray(
	IDesigner^ mainDesigner,
	IServiceProvider^ serviceProvider
)

Parameters

mainDesigner
Type: System.ComponentModel.Design::IDesigner^

The IDesigner that is the main or document designer for the current project.

serviceProvider
Type: System::IServiceProvider^

An IServiceProvider that can be used to obtain design-time services.

The component tray monitors component additions and removals and displays appropriate user interface objects to represent the components it contains.

.NET Framework
Available since 1.1
Return to top
Show: