Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C# Create a windows form using the following information (Instructions, HotelStats, HotelForm): Hotel Stats: Hotel form: Overview We have a 6 story hotel (7 levels

C# Create a windows form using the following information (Instructions, HotelStats, HotelForm):

image text in transcribed

Hotel Stats:

image text in transcribed

Hotel form:

image text in transcribed

Overview We have a 6 story hotel (7 levels if you consider the ground level). Looking at the Hotellnfo form you will notice a form that a hotel receptionist will use to answer costumer inquiries. Upon startup, there should be no selections in the top two listboxes and the Floor and Cost labels should be empty. The Current Availability listbox should show Total Room Capacity (We have no guests.) Check Request Click on a floor and bedrooms listboxes and then click "Check Request". If there is a room available, list the cost. If no room is available then show O for the cost (You will need to do a lookup in the Monthly cost table (2 dimensional table). If they pick "Doesn't Care" then you pick the floor. Show them the floor and cost. Update Request You must update the 2 dimensional table labelled "Rooms Currently Available". (A Check Request must have been done previously, otherwise remind them to make selections first.) You must show the revised table in the "Current Availability" listbox Clear All Request Entries Clears the label boxes and any entries in the upper two listboxes. It does not clear the "Current Availability" listbox. Three two dimensional arrays must be hard-coded into your program. The values are shown in the file HotelStats.xlsx. Monthly Cost Studio One BedroomTwo Bedroom Three Bedroom Ground 800 750 700 600 0 800 800 650 625 600 500 550 650 700 700 675 680 575 600 700 800 775 750 775 650 700 800 1000 5 Total Room Capacity One BedroomTwo Bedroom 30 30 32 40 50 20 10 Three Bedroom 40 40 40 40 50 Studio Ground 20 20 10 0 10 20 10 10 10 10 0 15 20 5 50 Rooms Currently Available One BedroomTwo Bedroom Three Bedroom 40 40 40 40 50 Studio Ground 20 20 18 10 0 10 20 30 30 40 50 20 10 10 10 10 10 0 15 20 5 50 YourastName Towers Request Floo Ground First Second hine Fourth Fifth Sixth Doesn't Care Bedrooms One Three Floor. Cost Check Request Clear All Request Entnes Update Request Current Availability list Box3 Overview We have a 6 story hotel (7 levels if you consider the ground level). Looking at the Hotellnfo form you will notice a form that a hotel receptionist will use to answer costumer inquiries. Upon startup, there should be no selections in the top two listboxes and the Floor and Cost labels should be empty. The Current Availability listbox should show Total Room Capacity (We have no guests.) Check Request Click on a floor and bedrooms listboxes and then click "Check Request". If there is a room available, list the cost. If no room is available then show O for the cost (You will need to do a lookup in the Monthly cost table (2 dimensional table). If they pick "Doesn't Care" then you pick the floor. Show them the floor and cost. Update Request You must update the 2 dimensional table labelled "Rooms Currently Available". (A Check Request must have been done previously, otherwise remind them to make selections first.) You must show the revised table in the "Current Availability" listbox Clear All Request Entries Clears the label boxes and any entries in the upper two listboxes. It does not clear the "Current Availability" listbox. Three two dimensional arrays must be hard-coded into your program. The values are shown in the file HotelStats.xlsx. Monthly Cost Studio One BedroomTwo Bedroom Three Bedroom Ground 800 750 700 600 0 800 800 650 625 600 500 550 650 700 700 675 680 575 600 700 800 775 750 775 650 700 800 1000 5 Total Room Capacity One BedroomTwo Bedroom 30 30 32 40 50 20 10 Three Bedroom 40 40 40 40 50 Studio Ground 20 20 10 0 10 20 10 10 10 10 0 15 20 5 50 Rooms Currently Available One BedroomTwo Bedroom Three Bedroom 40 40 40 40 50 Studio Ground 20 20 18 10 0 10 20 30 30 40 50 20 10 10 10 10 10 0 15 20 5 50 YourastName Towers Request Floo Ground First Second hine Fourth Fifth Sixth Doesn't Care Bedrooms One Three Floor. Cost Check Request Clear All Request Entnes Update Request Current Availability list Box3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Methods of Delivery Guidelines for

Answered: 1 week ago