Database Reference
In-Depth Information
12. Drag a Button control next to the Add button; select this control, navigate to
the Properties window, and set the following properties:
a. Set the Name property to btnRemoveCountry.
b. Set the Location property's X to 105 and Y to 165.
c. Set the Size property's Width to 95 and Height to 23.
d. Set the Text property to Remove Country.
13. Drag a Button control next to the Remove Country button; select this control,
navigate to the Properties window, and set the following properties:
a. Set the Name property to btnRemoveState.
b. Set the Location property's X to 220 and Y to 165.
c. Set the Size property's Width to 86 and Height to 23.
d. Set the Text property to Remove State.
14. Drag a Button control next to the Remove State button; select this control,
navigate to the Properties window, and set the following properties:
a. Set the Name property to btnShowDetails.
b. Set the Location property's X to 327 and Y to 165.
c. Set the Size property's Width to 100 and Height to 23.
d. Set the Text property to Show Details.
Now you are done with the design part of the UserInfo form; while dragging and dropping the
controls, you should place the controls to create a visually appealing layout, as shown in Figure 9-16.
Figure 9-16. GUI design of the UserInfo form
You want the user to add a name in the TextBoxes and click the Add button, after which the country
will be added to the ListBox and the state will be added to ComboBox. Accordingly, the Remove button
 
Search WWH ::




Custom Search