Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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)
There are 3 buttons on the form. They are:
Hotel Stats:
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.xlsxStep 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