StandardToolWindows Class
Assembly: System (in system.dll)
These GUIDs can be used to access the standard tool windows that are available to the design-time environment.
Note: |
|---|
| The HostProtectionAttribute attribute applied to this class has the following Resources property value: SharedState. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes. |
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.
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
IUIService uiService = (IUIService)this.GetService(System.Windows.
Forms.Design.IUIService.class.ToType());
if (uiService != null) {
uiService.ShowToolWindow(StandardToolWindows.TaskList);
}
- NamedPermissionSet for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state: FullTrust
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Note: