O'Reilly logo

Professional Visual Basic® 2010 and .NET 4 by Kent Sharkey, Rob Windsor, Gastón C. Hillar, Jonathan Marbutt, Billy Hollis, Bill Sheldon

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

Chapter 14. Windows Forms

WHAT YOU WILL LEARN IN THIS CHAPTER

  • How to construct a Windows Forms application

  • How to control the startup and organization of your forms

  • Important controls available in Windows Forms and how to take advantage of their capabilities

  • Usage of special families of controls and components, such as extender providers, common dialogs, and the ToolStrip

  • Programming tips for a variety of programming scenarios

Windows Forms is a part of the .NET Framework that is used to create user interfaces for local applications, often called Win32 clients. Windows Forms does not change when moving from Visual Basic 2005 or Visual Basic 2008 to Visual Basic 2010. Accordingly, the version number used for Windows Forms in Visual Studio 2010 is still 2.0.

The pace of change in Windows Forms is slowing because of the advent of Windows Presentation Foundation (WPF). Going forward, you can expect continued innovation in WPF, but not much in Windows Forms. However, that does not imply that you should abandon Windows Forms or be reluctant to write programs in it. Windows Forms still has many advantages over WPF.

Those advantages include a more complete set of controls and a mature, easy-to-use designer. The result is often faster development in Windows Forms compared to WPF. WPF has advantages of its own, of course. These are discussed in Chapter 17, which provides an introduction to WPF.

Chapter 15 includes more advanced treatment of certain aspects of Windows Forms. After gaining a basic understanding ...

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