![]() |
|
|
{3} Inserting Text Boxes In this step, we'll add the textboxes to our form. This will be very similar to the previous step. Since the text in textboxes can be edited by the user, we'll use them for the first and second numbers: The user will enter the first number in the first textbox, then choose an operation and then enter the second number in the second textbox. Upon hitting the Calculate button (I'll discuss this later) the calculation will be executed on both numbers. Select
the Text Box Repeat this by creating a second textbox to the right of lblSecondNumber. This time, change its name to txtSecondNumber and set its Text property to 1. Your form should now look like this:
|