Visual Studio .NET and Forms

Although it is perfectly feasible to create Windows Forms applications using only the command-line tools of the .NET Framework SDK, in practice it is much easier to use Visual Studio .NET. You can get started by creating a Windows Application project, which provides starter code and sets up references to the required .NET libraries. You can then use the Forms Designer to drag and drop controls from a toolbox onto your forms. The Forms Designer inserts all the needed boilerplate code to make your controls work within your forms. There is a Properties window which makes it easy to set properties of your controls at design time. You can also set properties via code at runtime.

The same Forms Designer can be used in all ...

Get Application Development Using Visual Basic® and .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.