Share via


AutoLayout by Examples - Part 2

Samples

A companion of this document is the actual source code of a Visual Studio solution (AutoLayoutByExamples.sln) that contains all sample projects and the driver program MainMenu. Download source.

 

It is highly recommended that the reader experiments with the individual project and examines the properties associated with the forms, the TableLayoutPanels and their children controls. Much of the “secrets” of auto-layout is in the designer and in the controls’ properties – too detailed and beyond the scope of this document.

 

List of Samples

Project Name

Description

SingleListGrowShrink

Resizable dialog containing auto-sized label and list

TextBoxesFixedHeightDialog

Horizontally resizable dialog with textboxes

GroupboxesFixedDialog

Fixed-sized dialog containing GroupBoxes

AutoSizedLabelFixedHeightDialog

Horizontally resizable dialog with growing/shrinking label

StackedLists50PercentSplit

Resizable dialog containing two equaled-size vertically stacked lists

StackedListsHorizontalSplitter

Resizable dialog containing two vertically splitter-separated lists

SideBySideListsVerticalSplitter

Dialog containing two splitter-separated side-by-side lists

Channel

Custom control inside a dialog

Calculator

Mockup layout of the XP calculator

Shrink

Mockup layout of a very popular DVD compression program

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included

script samples are subject to the terms specified at https://www.microsoft.com/info/cpyright.htm

Comments

  • Anonymous
    March 07, 2006
    Тан из Нью-Йорка показывает на примерах, как используются таблицы для расположен