Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Microsoft Visual C# 2015 Create a GUI application named Desks that computes the

ID: 3810126 • Letter: M

Question

Microsoft Visual C# 2015

Create a GUI application named Desks that computes the price of a desk and whose Submit button's Click() method calls the following methods:

1) A method to accept the number of drawers in the desk as input from two textboxes: one to enter the number of drawers, and one to enter a single letter ("o" for oak, "p" for pine, or "m" for mahogany) for the type of wood.

2) A method that accepts the number of drawers and wood type, and calculates the cost of the desk based on the following:

-Pine desks are $100

-Oak desks are $140

-Mahogany or any other woods are $180

-A $30 surcharge is added for each drawer

-This method returns the cost to the Submit button's Click() method

3) A method to display all the details and the final price

Explanation / Answer

Program.cs

=============================================================

Form1.cs

================================================================

Form1.Designer.cs

===============================================================