To Overview Notes
Windows Application Directions
- Reference System.Windows.Forms.dll from the class reference
library. This contains the code defining Windows forms and controls.
- Create a class defining your form named Form1. This class must
inherit System.Windows.Forms.Form.
- Define a textbox that contains the number of clicks and a button
to be clicked (caption "Click Me").
- Set the sizes and locations of the form, textbox and button.
- Add the textbox and button to the Controls collection of the form.
- Add an event handler that will add one to the count of clicks in
the textbox when the button is clicked.
- Create a class named ClickCounter2 with a Main method that
runs the application using
Application.Run(New Form1( ))