August 2003
Beginner
600 pages
12h 55m
English
Now that you've written all of the procedures for this example, you need to create the interface for the project. Click the Form1.cs [Design] tab in the IDE to display the form designer for the default form.
You'll need three buttons on this form—one to call each of your methods. Add the first button to the form by double-clicking the Button icon in the toolbox, and then set its properties as follows:
| Property | Value |
|---|---|
| Name | btnDrawEllipse |
| Location | 0,0 |
| Size | 80,23 |
| Text | Draw Ellipse |
Add a second button to the form and set its properties as follows:
| Property | Value |
|---|---|
| Name | btnClearEllipse |
| Location | 283,0 |
| Size | 80,23 |
| Text | Clear Ellipse |
Finally, add the third button to the form and set its properties as follows:
| Property | Value |
|---|---|
| Name |
Read now
Unlock full access