Create an application for the car wash located at VB Auto Center.
The form will contain three list box and one combo box control that does not permit the user to type in items at run time. The first list box will contain the names of the packages available for detailing a vehicle.
The contents of the other two lists will vary depending upon the package selected. Display one list for the interior work and one list for the exterior work. Store the descriptions of the items in string constants. You must clear the lists for the interior and exterior for each order and add new items to the lists each time the user makes a selection from the package list. see image.
1. In D2L, download the project called ICE4 and unzip it to a location on your computer.
2. When the form first loads you want it to look like the following: see image.
3. In Form Design
a. Add to the lstPackage control the following item values: Standard, Deluxe, Executive and Luxury
b. Change the cboFragrance control property which will not allow the user to enter text into the control.
c. Add a List Box control (name it lstInterior) to the right of the Interior label. Make sure that the alignment and size matches the Exterior list box above it. Change the property which will prevent the user from stopping on that control when tabbing.
d. Add Tool Tips to each of the three buttons.
Button Tool Tip Message
Display Click to show your selections
Clear Click to clear you selections
Exit Click to exit the application
4. In Code:
Procedure Actions – Pseudocode
frmMain_Load No coding required
btnDisplay_Click Look through the comments and code in this procedure to get a better understanding to what is supposed to happen. Anywhere where the '< Your code here> comment exists (in three different places), replace it with the appropriate code.
btnClear_Click Under the comment "Set the focus to the Detail Package and select the first item" Write the statements to make this happen in between a With…End With statement.
btnExit_Click No coding required