แก้ไข

แชร์ผ่าน


StandardToolWindows Class

Definition

Defines GUID identifiers that correspond to the standard set of tool windows that are available in the design environment.

public ref class StandardToolWindows
public class StandardToolWindows
type StandardToolWindows = class
Public Class StandardToolWindows
Inheritance
StandardToolWindows

Examples

The following code example demonstrates how to use StandardToolWindows to display a standard tool window. This code example is part of a larger example provided for the IUIService interface.

IUIService^ UIservice = dynamic_cast<IUIService^>(this->GetService( System::Windows::Forms::Design::IUIService::typeid ));
if ( UIservice != nullptr )
      UIservice->ShowToolWindow( StandardToolWindows::TaskList );
IUIService UIservice = (IUIService)this.GetService( 
    typeof( System.Windows.Forms.Design.IUIService ) );
if( UIservice != null )            
    UIservice.ShowToolWindow(StandardToolWindows.TaskList);
Dim UIservice As IUIService = CType(Me.GetService( _
    GetType(System.Windows.Forms.Design.IUIService)), IUIService)
If (UIservice IsNot Nothing) Then
    UIservice.ShowToolWindow(StandardToolWindows.TaskList)
End If

Remarks

These GUIDs can be used to access the standard tool windows that are available to the design-time environment.

Constructors

StandardToolWindows()

Initializes a new instance of the StandardToolWindows class.

Fields

ObjectBrowser

Gets the GUID for the object browser. This field is read-only.

OutputWindow

Gets the GUID for the output window. This field is read-only.

ProjectExplorer

Gets the GUID for the solution explorer. This field is read-only.

PropertyBrowser

Gets the GUID for the Properties window. This field is read-only.

RelatedLinks

Gets the GUID for the related links frame. This field is read-only.

ServerExplorer

Gets the GUID for the server explorer. This field is read-only.

TaskList

Gets the GUID for the task list. This field is read-only.

Toolbox

Gets the GUID for the Toolbox. This field is read-only.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also