Summary

In this hour you built two applications using four different types of Windows Forms. You built a dialog-based application that used a form with controls as the main application window, and you created an MDI application that used Windows Forms for the MDI frame, MDI child, and About dialog. In the examples, you learned how to initialize controls, including menus and toolbars, for use with Windows Forms and how to handle events from the menu and toolbar when the user selects an option.

Although there is much more to Windows Forms that cannot be covered in an hour's lesson, you should now have a foundation upon which you can start working with Windows Forms in your applications.

Get Sams Teach Yourself Visual C++® .NET in 24 Hours 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.