Chapter 15. Introduction to Windows Forms

IN BRIEF

This chapter explains and demonstrates how to use Windows Forms.

  • First, you are introduced to the basics of Windows Forms programming.

  • Next, you learn how to construct and run a simple Hello World application.

  • Finally, you modify the Hello World application to respond to a button click.

WHAT YOU NEED

RECOMMENDED SOFTWARE.NET Framework C#.NET environment
RECOMMENDED HARDWARE.NET-enabled desktop client
SKILLS REQUIREDC# coding

INTRODUCTION TO WINDOWS FORMS AT A GLANCE

Windows Forms Basics314Introducing the Main Method315
 Understanding the Forms Designer316  
Hello World318Setting the Properties321
 Creating an Application Using the Windows Application Wizard319Compiling and Running the Application322 ...

Get Microsoft® Visual C#® .NET 2003 Unleashed 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.