O'Reilly logo

Windows Forms 2.0 Programming by Michael Weinhardt, Chris Sells

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4. Layout

IN CHAPTER 2: FORMS AND CHAPTER 3: DIALOGS, we explored the lion's share of form- and dialog-related issues, which are all ably supported by the Form class. But forms have another important, obvious role: They are canvases on which you compose controls. In all but the most trivial cases, it would require a serious investment of time to compose controls and make sure everything's laid out just right—it would, that is, if it weren't for the layout support present in Windows Forms and VS05. Additionally, this support helps a form and its controls gracefully retain their layouts in the face of user resizing, localization, and, in some cases, control rearrangement at run time.

This chapter explores the range of layout support offered by ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required