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 حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.