Create a requirements document and a Use Case Definition document and then design a Windows Form mock-up based. 68. A costume shop requests a computer application that advertises costume rentals. This week's costume rental specials are as follows: Destination Renaissance Fair Stormtrooper Batman/Batgirl Pirate Price $40 week rental $49 week rental $36 week rental $29 week rental Write an application that allows the user to select any of the five costume rental specials. When the user selects a costume, the corresponding cost and a picture of the costume should be displayed. Clear each prior price and picture when the user selects a different costume. After selecting a costume, the user should be able to book the costume rental and then exit the window. FIGURE 2-68
Algorithm:
Step1: Declare the variable rentalAmount and initially assign as 0.
Step2: Declare the constructor of the class form1, which automatically call the method InitializeComponent(). The method calls the all method present in the class.
Step3: Declare four methods of button. Button_1() has the rentalAmount value of 40$ Renaissance fair, display the picture by Image.FromFile. display the rate by label2.Text. Button_2() has the rentalAmount value of 49$ Renaissance fair, display the picture by Image.FromFile. display the rate by label2.Text. and same for the Button_3 & Button_4.
Step4: Declare other method of button_5() which display the message "Booked successfully" by MessageBox.Show.
Step5: Design all the lables and text format by designer code.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 4 images