Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need help writing this program with visual basic c# windows form app(.net framework) ng the to The application's main form should appear similar to

i need help writing this program with visual basic c# windows form app(.net framework) image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
ng the to The application's main form should appear similar to the one shown below. B3 Shopping Cart File Products Help 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. 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 \begin{tabular}{l} Learn Calculus in One Day (Audio) \\ Relaxation Techniques (Audio) \\ The History of Scotland (Audio) \\ The Science of Body Language (Audio) \\ \hline \end{tabular} 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

Step: 3

blur-text-image

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

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions