Question
Using Visual Basic 2015 C#: The following table shows a training companys workshops, the number of days of each, and their registration fees. Workshop Number
Using Visual Basic 2015 C#:
The following table shows a training companys workshops, the number of days of each, and their registration fees.
Workshop | Number of Days | Registration Fee |
Handling Stress | 3 | $1,000 |
Time Management | 3 | $800 |
Supervision Skills | 3 | $1,500 |
Negotiation | 5 | $1,300 |
How to Interview | 1 | $500 |
The training company conducts its workshops in the six locations show in the following table. The table also shows the lodging fees per day at each location.
Location | Lodging Fees per Day |
Austin | $150 |
Chicago | $225 |
Dallas | $175 |
Orlando | $300 |
Phoenix | $175 |
Raleigh | $150 |
When a customer registers for a workshop, he or she must pay the registration fee plus the lodging fees for the selected location. For example, here are the charges to attend the Supervision Skills workshop in Orlando:
Registration: $1,500
Lodging $300 x 3 days = $900
Total: $2,400
Create an application that lets the user select a workshop from one ListBox and a location from another ListBox. When the user clicks the Calculate button, the application should calculate and display the registration cost, the lodging cost, and the total cost.
Steps:
- Rename Form1.cs to frmRegistration.cs
- Change frmRegistration StartPosition property to CenterScreen - For frmRegistration, set AcceptButton (btnCalculate) and CancelButton (btnClear)
- Include & in buttons.Text to create HotKeys.
- Include appropriate comments in your program
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