ComponentTray(IDesigner, IServiceProvider) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ComponentTray class using the specified designer and service provider.
public:
ComponentTray(System::ComponentModel::Design::IDesigner ^ mainDesigner, IServiceProvider ^ serviceProvider);
public ComponentTray (System.ComponentModel.Design.IDesigner mainDesigner, IServiceProvider serviceProvider);
new System.Windows.Forms.Design.ComponentTray : System.ComponentModel.Design.IDesigner * IServiceProvider -> System.Windows.Forms.Design.ComponentTray
Public Sub New (mainDesigner As IDesigner, serviceProvider As IServiceProvider)
Parameters
- serviceProvider
- IServiceProvider
An IServiceProvider that can be used to obtain design-time services.
Remarks
The component tray monitors component additions and removals and displays appropriate user interface objects to represent the components it contains.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.