Question: In this exercise, you create an application that calculates the number of single rolls of wallpaper required to cover a room. Create a Windows Forms

In this exercise, you create an application that calculates the number of single rolls of wallpaper required to cover a room. Create a Windows Forms application. Use the following names for the project and solution, respectively: Wallpaper Project and Wallpaper Solution. Save the application in the VB2017\Chap06 folder.?

a. Create the interface shown in Figure 6-61. The four combo boxes have the DropDown style. Display numbers from 8 through 30 in the combo boxes that get the room?s length, width, and height. Display numbers from 30 through 40, in increments of 0.5, in the combo box that gets the roll coverage. When the interface appears, the numbers 10, 10, 8, and 37 should be selected in the Length, Width, Height, and Roll coverage combo boxes, respectively.?

b. The Calculate button?s Click event procedure should calculate and display the number of single rolls of wallpaper required to cover a room. Use a Sub procedure to make the calculation. The number of single rolls should be displayed as an integer.

c. The number of rolls should be cleared when a change is made to a combo box.d. Save the solution and then start and test the application. (If the roll coverage is 38.5 square feet and the room?s length, width, and height are 14, 20, and 8, respectively, the number of single rolls is 15.)?

og Wallpaper Warehouse Length (feet): Width (feet): Height (feet): Roll coverage (sqFt):

og Wallpaper Warehouse Length (feet): Width (feet): Height (feet): Roll coverage (sqFt): Single rolls: Calculate Exit

Step by Step Solution

3.40 Rating (172 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVers... View full answer

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

Document Format (2 attachments)

PDF file Icon

1814_60b8c12284d0e_823531.pdf

180 KBs PDF File

Word file Icon

1814_60b8c12284d0e_823531.docx

120 KBs Word File

Students Have Also Explored These Related Programming Microsoft Visual Basic Questions!