Directives

14.1 Give forms a consistent appearance and behavior.

Forms are the building blocks of a program’s interface; if an application has a user interface, it has at least one form. Although forms are very common, many developers design them poorly. When you add a new form to a project, Visual Basic creates an empty form using a template. Usually the properties of the new form are inappropriate for the type of form you want to create. By following the practical applications listed in this directive, you’ll create better forms.

Practical Applications
14.1.1 Assign the proper border style to every form.

When you add a new form to a project, Visual Basic automatically sets the form’s FormBorderStyle property to Sizable. More often than ...

Get Practical Standards for Microsoft® Visual Basic® .NET, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.