Summary

In this chapter, we learned how to implement a GUI using the Windows Forms classes of the .NET Framework. We began by using the .NET Framework SDK to create simple Windows applications from scratch. Controls can be instantiated, placed and sized on a form without the use of any special tools. The .NET event mechanism is used to handle user interaction such as button clicks.

Visual Studio .NET greatly simplifies Windows programming. The Forms Designer lets you drag controls from the Toolbox onto your forms, and you can set properties of the controls at design time. You can also easily add event handlers. Dialog boxes are a special kind of form, and you can pass information between a parent form and a dialog through the use of properties ...

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.