Midterm Exam Track Order and Video Bonanza Project
Modify your work from midterm project to keep track of each order item in an array. You will then include all the ordered items in the summary. Remove the module level summary variables from the form and loop through the array when totaling the order.
Create an array of a structure, which holds the description, quantity, sales price, and extended price (the quantity times the sales price). As each purchase item is added to the order, store the information in the structure array then update the summary text box to reflect the newly ordered item.
Test Data Output
Anywhere, CA 99999
Quantity – Description @ Price = Extended Price
2 – Deluxe Cooler @ 68.00 = $136.00
1 – Axe @ 5.00 = $5.00
Create a project for Video Bonanza to view a list of Movies. Use a dropdown list box for the movie categories. When a category is selected, display a list of released movie titles in a second list box titled Movie List. Using either buttons or a menu allow the user to display a count of the number of movie titles for the selected category.
The category list will have these categories: All, Comedy, Drama, Action, Sci-Fi, Horror, and New Releases. Do not sort the category list. When the program begins, the All movies category will be selected and the Movie List listbox (which is sorted) will display all the movies. When a category is selected, clear the movie titles list box and fill it with only the movies for that category (hint: use the SelectedIndexChanged event).
Use a two dimensional array to store the movies by category. The movies by category are:
Home by Yourself
Dancing With Fools
A Dependent’s Pay
Home and Around
Women in White
An American Resident
For the report display all the movie titles by category and output it in the Print Preview dialog box