共用方式為


Showing or Hiding the Dialog Editor Toolbar

 

The latest version of this topic can be found at Showing or Hiding the Dialog Editor Toolbar.

The latest version of this topic can be found at Showing or Hiding the Dialog Editor Toolbar.

When you open the Dialog editor, the Dialog Editor toolbar automatically appears at the top of your solution.

Dialog Editor Toolbar

Icon Meaning Icon Meaning
Test Dialog button Test Dialog Space Across button Across
Align Lefts button Align Lefts Space Down button Down
Align Rights button Align Rights Make Same Width button Make Same Width
Align Tops button Align Tops Make Same Height button Make Same Height
Align Bottoms button Align Bottoms Make Same Size button Make Same Size
Center Vertical button Vertical Toggle Grid button Toggle Grid
Center Horizontal button Horizontal Toggle Guides button Toggle Guides

The Dialog Editor toolbar contains buttons for arranging the layout of controls on the dialog box, for example size and alignment. Dialog Editor toolbar buttons correspond to commands on the Format menu. For details, see Accelerator Keys for the Dialog Editor.

When you are in the Dialog editor, you can toggle the display of the Dialog Editor toolbar by selecting it from the list of available toolbars and windows.

To show or hide the dialog editor toolbar

  1. On the View menu click Toolbars then choose Dialog Editor from the submenu.

    Note

    The Dialog Editor toolbar is displayed by default when you open a dialog box resource in the Dialog editor; however, if you explicitly close the toolbar, you will need to invoke it the next time you open a dialog box resource.

For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

Requirements

Win32

See Also

Arrangement of Controls on Dialog Boxes
How to: Create a Resource
Resource Files
Dialog Editor