Chapter 2. Forms

In a technology named “Windows Forms,” you can expect the form to play a critical role. This chapter explores the basics, including the display of forms, the lifetime of a form, form size and location, non-client form adornments, menus, and child controls, as well as advanced topics such as form transparency, nonrectangular forms, control layout, MDI forms, and visual inheritance. And if that's not enough, Chapter 3 is all about using forms as dialogs.

Some of the material in this chapter—notably child control topics such as anchoring and docking—applies equally well to user controls as it does to forms. Although some material is common to both topics, topics that are more commonly associated with forms are covered in this chapter, ...

Get Windows Forms Programming in Visual Basic .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.