Changes

Jump to: navigation, search

Designing Forms in Visual Studio

397 bytes added, 17:19, 20 July 2007
Positioning Controls Using Snap Lines
To active Snap Lines select ''Options...'' from the ''Tools'' menu, click on ''Windows Form Designer'' in the tree to the left of the Options dialog and configure the following settings:
* Layout Mode: SnapLines* SnapToGrid: False* ShowGrid: False Once the settings are apply add a Button control to a form. Next, click on the ''ListBox'' control in the ToolBox and drag it over to the form. As you move the ListBox below the Button a line will appear between the controls at any point that edges align. For example the following figure shows a line appearing at the point the left hand edges of the controls align: [[Image:Exampl.jpg]]

Navigation menu