Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use C# Use C# Use C# Please use C# Please use C# Posted like 3 times because of wrong code. Joes Design an application that

Use C#

Use C#

Use C#

Please use C#

Please use C#

Posted like 3 times because of wrong code.

Joes Design an application that works as a shopping cart system. The user should be able to add any of the following items to his or her shopping cart:

Print Books (books on paper):

I Did It Your Way $11.95

The History of Scotland $14.50

Learn Calculus in One Day $29.95

Feel the Stress $18.50

Audio Books (books on tape):

Learn Calculus in One Day $29.95

The History of Scotland $14.50

The Science of Body Language $12.95

Relaxation Techniques $11.50

The applications main form should appear similar to the one shown below.


image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
The application's main form should appear similar to the one shown below. Products Selected The list box shows all items in the shopping cart. There is a 6% sales tax on the total cost of the items in the shopping cart. Also, for each item in the shopping cart there is a $2.00 shipping charge. To remove an item from the shopping cart, the user selects it in the list box and clicks the Remove button. The subtotal, tax, shipping, and total fields should be adjusted accordingly. The main form's menu system is sketched in the figure below. in the shopping cart should be removed, and the subtotal, tax, shipping, and total fields should be cleared. When the user selects Exit from the File menu, the application should end. When the user selects About from the Help menu, a simple About pop-up message should appear. Recommended pop-up message is "Shopping Cart v1.0". When the user selects Print Books from the Products menu, the form below should appear. Print Books - Select a Print Book I Did it Your Way (Print) The History of Scotland (Print) Learn Calculus in One Day (Print) Feel the Stress (Print) To add one of the items in the list to the shopping cart, the user selects it and clicks the Add Book to Cart button. To cancel the operation, the user simply clicks the Close button without selecting a book. On the main form, when the user selects Audio Books from the Products menu, the form below should appear. To add one of the items in the list to the shopping cart, the user selects it and clicks the Add Book to Cart button. To cancel the operation, the user simply clicks the Close button without selecting a book. On the main form, when the user selects Audio Books from the Products menu, the form below should appear. Audio Books Select an Audio Book Learn Calculus in One Day (Audio) Relaxation Techniques (Audio) The History of Scotland (Audio) The Science of Body Language (Audio) To add one of the items in the list to the shopping cart, the user selects it and clicks the Add Book to Cart button. To cancel the operation, the user simply clicks the Close button without selecting a book. - Hint: Public Calculation procedure should be created in the MainForm to compute total prices. It should be called whenever there is a change in the Cart ListBox items. - MainForm is the Starting form (= Always open), so it doesn't need an object variable to access it. Since it is not possible to access a control directly from other form, a public static List should be created in MainForm (or Form1). Selected book titles (string values) should be added to this List from the other forms. When the MainForm is activated, all the items in the List should be moved to the Cart ListBox. - The best way to find a book price is the use of switch statement in the Calculation procedure for book price, switch(){ case "I Did It Your Way (Print)" : bookprice =..; break; \}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions

Question

Outline the stages involved in buying a business.

Answered: 1 week ago

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago