Creating the dynamic pizza pie buttons

Assignment Help Programming Languages
Reference no: EM132316695

Assignment

Project name: Something that makes sense for project. Ex. PizzaOrder

Instructions:

Create a pizza ordering form that will look like the form below.
• On startup, the user needs to enter how many pizzas they would like to order
o Limit the number between 1 and 9 pizzas
o The toppings selection section should be disabled while we have no pizza pies to put toppings on
• When user clicks the ‘Start order' button, dynamically create as many pies as the user wants to buy
o Hint: You can use the radio button control set to look like a button, that way you only select one pizza pie at a time
o Hint: Make sure you have scroll bars so that the user can get to all the pizzas
• Create a Pizza class that will hold information about each pizza.
o Hint: you may want to create a Pizza object as you're creating the dynamic pizza pie buttons, and store the Pizza object in the Tag property of each pizza button
o Hint: You may wish to have an ‘activePizza' object in the form → when a new pizza is selected, you can get the Pizza object from the Tag property and set it as the active pizza. This way, you can save your pizza toppings as the user is making their selections (think event handling here)
• You should be able to go back to a pizza you already selected the toppings for, and be able to load those toppings into the toppings' section of the form.
o Hint: When a new or old pizza is selected, get the Pizza object from the Tag property, and set up the toppings based on what is saved in the Pizza object for that pie - Hint: have good default values for the Pizza object
• After user makes all selections for all the pizzas, clicking the ‘Check Out' button should make the form larger to reveal the order summary section (see images below)
o When we are in checkout mode, user should not be able to make any changes to the pizza pies
• Hint: you may wish to disable the controls that the user is not allowed to use
• Hint: if you divide your screen into panels, it is easy to disable all controls in each panel by setting the Enabled property of the panel to false

o From the Order summary, clicking the "Start New Order" button should make the form the original size, and reset all controls as if we just launched the form. For example:
• Get rid of the old pizza pie buttons
• Enable all controls as required
• Disable the toppings section until we again have new Pizza pies to put toppings on
• etc

Reference no: EM132316695

Questions Cloud

What is a companys earnings and profits : What is a company's earnings and profits? How is it calculated? How is it different than a company's net income?
Performance evaluation of a subordinate in the break room : Your peer (a first line supervisor at a major retail store) is conducting a performance evaluation of a subordinate in the break room
Show how one hospital compares to another : How to read MS-DRG Reports and compare to Quartly reports that show how one hospital compares to another?
Success of an international expansion : What factors help managers determine which type of distance is most likely to affect the success of an international expansion?
Creating the dynamic pizza pie buttons : Create a pizza ordering form that will look like - Create a Pizza class that will hold information about each pizza - You should be able to go back to a pizza
What is the amount of interest expense the franklins may : What is the amount of interest expense the Franklins may deduct in year 2 assuming year 1 is 2017?
The gain or loss on disposal is : A year after the revaluation on 1 January 20X1 the asset was sold for $80 000. Under the provisions of AASB 116 on Property, Plant & Equipment
Implementation of structural change : Please assist by providing information to answer each of the following questions
Consider could be the possibilities : What would you consider could be the possibilities that could lead to corporate sustainability for Mannat?d to corporate sustainability for Mannat?

Reviews

Write a Review

Programming Languages Questions & Answers

  Provide a measure of accuracy of your prediction

Explain how you computed your prediction from the estimates and be sure to provide a measure of accuracy of your prediction.

  Program to read an employee-s number from keyboard

Write a program that reads an employee's number from the keyboard, number of hours worked and an hourly rate of pay.

  Historical principle for loss to the company is minimal

A colleague of yours frequently takes small amounts of office supplies, noting that the loss to the company is minimal. Your rationale expresses which historical principle?

  Write a program to find the largest of five numbers

Write a program to find the largest of five numbers obtained from the user with an input dialog box

  Program to find area-length and width of a rectangular room

Program is supposed to ask user for length and width ofa rectangular room, and then display room's area. The program should multiply width by length in order to find the area. Find the error.

  Write a perl script to automate task

CMT304 Programming Paradigms - Cardiff University - Script programming and Quantum Computing - need to maintain the directory structure when storing the removed

  Create class having property to store dollar value of order

Create the class which has the property to stores dollar value of order. Class has CalculateFinalAmount which uses this logic--If dollar value is at least $500, solution decreases dollar value by $50.

  Write function to take the name of file as one parameter

Write a function named paragraphStats() that takes one parameter:the name of a file. The file contains a single line of text.

  Issues into account for collecting user data via forms

In addition to making our forms easy to use we need to consider user privacy and the use of data. What are some of the issues which you believe you require to take into account for collecting user data via forms?

  Program to print total balances forward and total withdrawal

At the end of report, print total balances forward, total deposits, total interest earned, total withdrawals and total final account balances.

  Wysiwyg editors can be used to learn html

What about fact that WYSIWYG editors can be utilized to learn HTML? As you can usually jump back and forth from their own image.

  Write a program to go through your address book

Everyone has at least one friend who always remembers everyone's birthday. Write a program to go through your address book and print the names and phone numbers of all people who have birthdays on that day, so you can give them a call.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd