DialogContainerWithToolbar Constructors
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.
Overloads
DialogContainerWithToolbar() |
Initializes a new instance of the class. |
DialogContainerWithToolbar(IServiceProvider) |
Initializes a new instance of the class and sets the service provider. |
DialogContainerWithToolbar(IServiceProvider, Control) |
Initializes a new instance of the class and sets the service provider and the control that is contained by the form. |
DialogContainerWithToolbar(IServiceProvider, Control, IOleCommandTarget) |
Initializes a new instance DialogContainerWithToolbar with its contained control, and an IOleCommandTarget implementation that is in addition to the one owned by the OleMenuCommandService. |
DialogContainerWithToolbar()
Initializes a new instance of the class.
public:
DialogContainerWithToolbar();
public:
DialogContainerWithToolbar();
DialogContainerWithToolbar();
public DialogContainerWithToolbar ();
Public Sub New ()
Remarks
This is the default class constructor and does not set any of the internal properties of the object. The main purpose of the constructor is to enable the WinForm designer to show an instance of this class.
Applies to
DialogContainerWithToolbar(IServiceProvider)
Initializes a new instance of the class and sets the service provider.
public:
DialogContainerWithToolbar(IServiceProvider ^ sp);
public DialogContainerWithToolbar (IServiceProvider sp);
new Microsoft.VisualStudio.Shell.DialogContainerWithToolbar : IServiceProvider -> Microsoft.VisualStudio.Shell.DialogContainerWithToolbar
Public Sub New (sp As IServiceProvider)
Parameters
The service provider that the window can subsequently query to retrieve Visual Studio services.
Applies to
DialogContainerWithToolbar(IServiceProvider, Control)
Initializes a new instance of the class and sets the service provider and the control that is contained by the form.
public:
DialogContainerWithToolbar(IServiceProvider ^ sp, System::Windows::Forms::Control ^ contained);
public DialogContainerWithToolbar (IServiceProvider sp, System.Windows.Forms.Control contained);
new Microsoft.VisualStudio.Shell.DialogContainerWithToolbar : IServiceProvider * System.Windows.Forms.Control -> Microsoft.VisualStudio.Shell.DialogContainerWithToolbar
Public Sub New (sp As IServiceProvider, contained As Control)
Parameters
The service provider that the window can subsequently query to retrieve Visual Studio services.
- contained
- Control
The control that is contained by the form.
Applies to
DialogContainerWithToolbar(IServiceProvider, Control, IOleCommandTarget)
Initializes a new instance DialogContainerWithToolbar with its contained control, and an IOleCommandTarget implementation that is in addition to the one owned by the OleMenuCommandService.
public:
DialogContainerWithToolbar(IServiceProvider ^ sp, System::Windows::Forms::Control ^ contained, Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget ^ parentCommandTarget);
public DialogContainerWithToolbar (IServiceProvider sp, System.Windows.Forms.Control contained, Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget parentCommandTarget);
new Microsoft.VisualStudio.Shell.DialogContainerWithToolbar : IServiceProvider * System.Windows.Forms.Control * Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget -> Microsoft.VisualStudio.Shell.DialogContainerWithToolbar
Public Sub New (sp As IServiceProvider, contained As Control, parentCommandTarget As IOleCommandTarget)
Parameters
The IServiceProvider.
- parentCommandTarget
- IOleCommandTarget
The parent IOleCommandTarget.
Remarks
The DialogContainerWithToolbar command target implementation uses the additional command target to search command handlers when they are not found in its collection of handlers.