Question
Visual Basic A winter sports rentals store needs an application that will let the user (a store clerk) enter information about a customer's rental. The
Visual Basic
A winter sports rentals store needs an application that will let the user (a store clerk) enter information about a customer's rental. The user should be able to select multiple equipment items, a rental duration, a deposit amount, and insurance.
Use a list box to display all the equipment available for rent (remember that the user needs to be able to select more than 1 item from the equipment list). Each equipment item has a rental rate based on the different duration times. For example: Beginner skis are $35.00 for 1 day, $45.00 for 2 days, $80.00 for 3 days, $150.00 for 1 week, and $280.00 for 2 weeks. Come up with several different equipment items and rental rates for each.
Use a combo box for the duration time (do not let the user type into the combo box, but instead force them to choose from a drop down list). The duration times are: 1 day, 2 days, 3 days, 1 week and 2 weeks.
Include a check box that indicates that a liability waiver has been signed. A customer can not rent equipment without signing a liability waiver.
Include another check box indicating whether the customer purchased damage insurance. Damage insurance costs 10% of the total rental charge before taxes. Tax is not charged on insurance.
Include a calculate button that will calculate and display the total amount due for the equipment rentals, insurance amount, and tax amount, less deposit amount and balance due. The calculate button should check to make sure that equipment items have been selected, a duration time has been selected, a deposit amount has been entered, and the waiver has been signed.
Include a link label that will display a second form that contains a WebBrowser control to display the current weather for the area.
On the second form containing the WebBrowser control, include a toolstrip at the top of the form which includes a textbox for entering a web address, a Go button that will navigate to the address in the textbox, and Close button that will close the form and return to the main form.
Classes needed .............
Basic classes no inheritance
- Rental equipment
- Customer class
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started