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 REQUIRED
C# coding
INTRODUCTION TO WINDOWS FORMS AT A GLANCE
Windows Forms Basics
314
Introducing the Main Method
315
Understanding the Forms Designer
316
Hello World
318
Windows Application Wizard
319
Creating an Application Using the Responding to a Button Click
324
Setting the Properties
321
Compiling and Running the Application
322
Summary
329
Further Reading