DialogContainerWithToolbar Class

Use this class to implement modal forms in Visual Studio. The implementation enables the form to host a Visual Studio command bar so that it participates in standard command routing.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

声明
<CLSCompliantAttribute(False)> _
Public Class DialogContainerWithToolbar _
    Inherits Form _
    Implements IVsToolWindowToolbar, IServiceProvider, IMessageFilter
用法
Dim instance As DialogContainerWithToolbar
[CLSCompliantAttribute(false)]
public class DialogContainerWithToolbar : Form, 
    IVsToolWindowToolbar, IServiceProvider, IMessageFilter
[CLSCompliantAttribute(false)]
public ref class DialogContainerWithToolbar : public Form, 
    IVsToolWindowToolbar, IServiceProvider, IMessageFilter
[<CLSCompliantAttribute(false)>]
type DialogContainerWithToolbar =  
    class
        inherit Form
        interface IVsToolWindowToolbar
        interface IServiceProvider
        interface IMessageFilter
    end
public class DialogContainerWithToolbar extends Form implements IVsToolWindowToolbar, IServiceProvider, IMessageFilter

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.ScrollableControl
          System.Windows.Forms.ContainerControl
            System.Windows.Forms.Form
              Microsoft.VisualStudio.Shell.DialogContainerWithToolbar

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DialogContainerWithToolbar Members

Microsoft.VisualStudio.Shell Namespace