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

  Function to retrieve each of the private data members

Write a class called "Date" with month, day and year as private members. Have constructor that sets default date to 1st January 2000. Have accessor function which retrieves each of the private data members.

  What happens when you verify that the given file exists

Modify what happens when you verify that the given file exists. If the file does not exist, let the user choose whether to enter another filename or go to the action menu.

  Write program to prompt number of rooms in house

Write down the program which prompts for number of rooms in house. Use input, n, to declare array of rectangles dynamically. In loop, input dimensions for n rooms.

  Pseudocode program by multiplying the length by the width

An area is calculated by multiplying the length by the width. The pseudocode program below shouldask the user for the length and width of a rectangular room in order to calculate the area, and displaythe room's area. Will it do the job.

  Write a perl program that asks a user for a motif

Write a Perl program that asks a user for a motif (like QDSV or MKPL) and returns a message saying whether the motif is found in the sequence or not - Write a program that calculates and prints

  Explaining class with no constructors

How many constructors can a class have? Can you have a class with no constructors? If a class has more than one constructor, which of them gets called?

  Write a program that accepts ciphertext only

Write a program that accepts ciphertext only. The program finds the keys and decipher the message. To decipher the message use the program you wrote in Lab 1.

  Explain usability and accessibility in site design

A description of content to be included in site and how this content will be acquired. Attention should be given to copyright restrictions.

  Which protocol is using by video game programmers udp or tcp

What protocol do you think video game programmers would use UDP or TCP. Why do you think the game uses one or the other protocols

  Write the ruby source code for problem

Write the Ruby source code for Problem - Write a PhoneContact class that gets initialized with a phone number and a label.

  Occurrence of the longest substring of capital

Input a string. Output the starting position and length of the first occurrence of the longest substring of capital Xs in that string. The first letter is in position 1.

  Explain different kind of product sold

Use two-dimensional array to solve following problem. Company has four salespeople(1 to 4) who sell five different products (1 to 5). Once day, each salesperson passes slip for each different kind of product sold.

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