IS 340 – Group Project

IS 340 – Group Project
Objectives:




Gain more knowledge of Windows Form Application
Gain more understanding about saving data to a hard-drive and reading from hard-drive
Familiarize with XML format
Ability to learn new features of C#
Learning Goals:



Quantitative and Technology Analysis
Group Communication
Technical Communication
Description:

Create a Windows Form application that
o Reads a list of products from an xml file and shows a form that a customer can order
o As a customer select products and quantities, a total will be calculated and be displayed
o At that time the user can enter an account number and complete the purchase.
o The menu.xml file will store information for
 Cappuccino - $2.99 - Taxable
 Espresso - $2.59 – Taxable
 Iced Coffee - $2.29 – Taxable
 House Coffee - $1.99 – Taxable
 Bagel - $1.99 – Taxable
 Muffin - $1.59 – Taxable
 Banana - $.99 – Non-taxable
 Orange - $.79 – Non-taxable
o As the user completes a transaction, it will be saved to order.xml. So you want to save
the date-time of the order in the xml as well.
o We assume that sales tax is 8.75%
Hints:


Please search google for “C# add to xml file example” so that you find example to add an
element to an XML-Document. Here is what I found through google.
http://stackoverflow.com/questions/5975114/adding-new-node-to-existing-xmldocumentobject
Passing data between forms: you can search google. Here is what I found
http://www.codeproject.com/Articles/14122/Passing-Data-Between-Forms
Suggestions:

Have 2 forms: Order and Cart


When a customer changes the order, the cart will have a new summary.
Edit checks to make sure customer cannot order a negative quantity