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
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.