Question: Use C# to create a windows form for a 6-story (plus ground) Hotel check-in. The form should include a listbox that lists the floor (G

Use C# to create a windows form for a 6-story (plus ground) Hotel check-in. The form should include a listbox that lists the floor (G - 6) as well as a "don't care" option, and a listbox that lists the number of bedrooms (1-3) or a studio bedroom. There is also a Current Availability listbox that starts empty, but fills up as guests are admitted into the Hotel. (Example below)

Use C# to create a windows form for a 6-story (plus ground)

There are 3 buttons on the form. They are:

Hotel check-in. The form should include a listbox that lists the floor

Hotel Stats:

(G - 6) as well as a "don't care" option, and a

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 Check Request Click on a floor and bedrooms listboxes and then click Check Request'. lf there is a room available itthe cos no room s vailable en s owOr 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. 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 Check Request Click on a floor and bedrooms listboxes and then click Check Request'. lf there is a room available itthe cos no room s vailable en s owOr 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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!