Where Are We?


As you've seen, Windows Forms and VS05 offer an abundance of layout support for forms and controls. This support starts when controls are added to parent forms or parent controls, whether by designer-generated code in InitializeComponent or programmatically by you. After the controls are contained, a host of designer features makes life easier when it comes to ordering, positioning, grouping, and resizing your controls, either at design time or at run-time. If these myriad features aren't enough for you, you can take advantage of several container controls to handle specific resizing requirements, including splitting, grouping, flow layout, and tabular layout. You can also easily handle the Layout event or build your own layout panel control to take up the slack, although you'll seldom need to employ these techniques.

As nicely and easily as you can do layout, you often need to change certain aspects of a UI, particularly for out-of-the box .NET Framework controls. This is where the ability to paint your own UIs comes in handy, a topic we cover next.




Windows Forms 2.0 Programming
Windows Forms 2.0 Programming (Microsoft .NET Development Series)
ISBN: 0321267966
EAN: 2147483647
Year: 2006
Pages: 216

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net