Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi I'm not familiar with using Microsoft Visual C# Express 2010. Please help me with this project and provide instructions. Intro to Visual Programming -

Hi I'm not familiar with using Microsoft Visual C# Express 2010.

Please help me with this project and provide instructions.

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

Intro to Visual Programming - CS 114/ IST 140 Storm-Page 1 Project 5-Stormazon In this project you will use methods, multiple forms and menus to create a "shopping cart" that allows users to order their merchandise via other forms. Project Objectives: - Use of multiple forms (user-defined classes) - Use of MenuStrip and context menus for navigation - Use of void methods - Use of arithmetic operators - Use of value-returning methods - Use of Currency Format - Use of ListBox - Use of ToolTips - Use of Radio Buttons and Check Boxes - Use of Public \& Private Access Specifiers Example Category/Product/Price Requirements - Comment your code!!! - Include a Context Menu listing at least 3 options - Each category will have its own form to select Use a methods to modulize code products which are added to a ListBox (cart) on the - All fields need to be declared as private startup form - Use any categories and items you want but stay - Use a minimum of 5 forms (startup and 3 with the price schedule used in the example categories) - Use appropriate C\# naming conventions for - Forms must be appropriately named forms, labels, variables, etc. - The About form is Modeless, all other forms are Modal ipecifications - Startup Form (Figure 1) - Category Forms (Minimum 3) - ListBox to hold every item the user selects - You choose the design, you choose the categories, from the category forms and you choose the products - Remove button to remove a selected item - Each Category form will have no less than three from the listbox and update labels items to choose from. For example, a music - Labels category could have the CD's Bon Jovi, GNR and 1. Subtotal Owl Poison. A Video Games category could have 2. Tax the NES, SNES and Atari systems, etc. 3. Shipping - When a user selects an item(s), the selected 4. Total item(s) are added to the ListBox on the startup 5. Number of items in Cart form and all labels (SubTotal, Tax, etc.) are - Shipping Checkbox - if selected, shipping robustly updated. charges are applied to the total (shipping - You can decide how an item is selected, but you IS NOT taxed) have to use a different selection method for each 1. 1-3 items add $9 form (like image click, checkbox, radio button, 2. 4-6 items add $6 listbox, etc.) 3. 7+items is FREE SHIPPING - About Form - MenuStrip (instead of buttons) to perform - Needs an image of you program operations - Short blurb about yourself...one line is fine. Can 1. File be your major, hobby, favorite basket 1. Clear All Items weaver...whatever 2. Remove Item - Tax rate is .07 3. Exit 2. Products 1. Movies 2. Video Games 3. Music 3. Help 1. About Category Forms - Minimum of 3 required - Must add items to the StartUpform in different ways (radio buttons, item click, etc) - Little code - they all call the same methods to add items and update labels Logic (programming teaches you how to think) 1. Begin at a start (shopping cart) form 2. Open a category form 3. Allow the user to select items in any way you see fit 4. Call an update cart method in the start form and you are done with the category form 5. The update cart method adds the item and calls an update totals method 6. The update totals method calls a get price method to determine the price of the item then it calls a calculate shipping method to determine if there is a shipping cost 7. The get price method returns the price of the item selected 8. The calculate shipping method checks the status of the shipping checkbox, counts the items and determines a shipping cost Remember, each time an item is added or removed, the same things are done...one method calling another. The only difference being is whether to increase or decrease the price. While I can't tell you exactly how to handle this, a simple solution would be to include a1 and that's it! Private fields to use in this project double dblTax const double DBL_TAXRATE =.07 double dblTotal int intltemCount Methods used in this project - Void method to add an item to the form 1 parameter - item name Called by any category form to add a single item to the main form listbox Will get the item price Intro to Visual Programming - CS 114/IST 140 Will add the item to the listbox Will update labels - Void method to calculatelupdate the subtotal, tax, total and item count variables 1 parameter - the item cost Update the item count Update the subtotal Update tax Update total - Void method to update the form labels No-arg method Update all the form labels - Value returning method to get price of item 1 parameter - item name Returns item price - Void method to remove an item from the listbox No-arg method - Get the selected item Remove the item - Void method to handle shipping No-arg method - Check the status to the shipping checkbox Figure out the shipping cost based on item count Update shipping and total label

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 Security XI Status And Prospects

Authors: T.Y. Lin, Shelly Qian

1st Edition

0412820900, 978-0412820908

More Books

Students also viewed these Databases questions

Question

5. Identify and describe nine social and cultural identities.

Answered: 1 week ago

Question

2. Define identity.

Answered: 1 week ago

Question

4. Describe phases of majority identity development.

Answered: 1 week ago