logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

Bonnie’s Balloons is a small privately-owned balloon shop operated by Bonnie Leiter, who employees a small staff of assistants, including delivery personnel

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

ASSIGNMENT OBJECTIVES

    • Use Visual C# 2015-2019 to create a project. (*** See the last page for the correct project name to use. ***)

    • Observe professional programming style guidelines (e.g., comments, indentation, ).

    • Determine the most appropriate C# controls to use to accomplish the requirements of the

    • Declare all necessary constants and variables with appropriate data types and

    • Follow appropriate standardized naming conventions for variables, constants, and

    • Write code to accept input from the user, perform calculations, and convey output to the

    • Utilize appropriate decision structures to branch code execution as required by the

    • Format output so that it displays appropriately for the situation involved (e.g., as currency).

    • Create custom message boxes that communicate with the user and respond

  • To properly utilize looping structures in your program code where

  • To read data in from external files, and output data to a formatted message

  • To write custom methods for appropriate use in your program

BUSINESS SCENARIO

Bonnie’s Balloons is a small privately-owned balloon shop operated by Bonnie Leiter, who employees a small staff of assistants, including delivery personnel. The shop specializes in high-quality Mylar balloons decorated for special occasions. The price of a balloon order depends on the size of the balloon bundle, what types of “extras” are included with the order (e.g., flowers, candy, etc.), whether a message card is included, and whether the customer picks up the order at the shop or has it delivered to them. Balloon orders are predominantly taken by phone, although there are some walk-in customers. Bonnie is interested in converting the current paper-based order-taking system into an automated one. She has hired you to begin work on this project. The specific requirements of a first draft of this program are detailed below.

ASSIGNMENT REQUIREMENTS

  • For decorative purposes, there is to be a picture box control placed at the top of the form. This control should display a graphic file related to balloons that is appropriate for this company. Below, or to the side of, this picture box should be a bordered label displaying the company name in a font style and font size other than the

  • Four groups of controls (described immediately below) should be set apart by the use of group box

  • Customer Information – The title, first name, last name, street, city, state, zip, and phone number are to be entered for the customer. For the customer’s title, a combo box should provide a pre-defined choice of: Dr., Mr., Mrs., Ms., and Rev. (Additionally, other titles not specified here are to be allowed to be entered by the user if desired.) When the program begins, this title combo box should not display any value until the user selects one from the list or types one in. For state, allow only two uppercase letters; for zip, allow only five digits; for phone, use (999) 000-0000

  • Delivery Information – A control is to be provided to hold the desired delivery date (00/00/0000 format) that each order is to be ready for either store pick-up or home delivery. This control should automatically default to displaying the current date when the program begins. Also, in this section, the delivery type (store pick-up or home delivery) is to be specified with radio buttons. At program startup, the store pick-up option should be selected by default. When- ever home delivery is specified, a $7.50 charge is added to the order total price. This $7.50 price should be displayed on the form next to the home delivery option. (Hint: Utilize a constant to provide this value to the label to facilitate any future change. This approach should also be used for the other prices to be displayed – see )

  • Order Details – The balloon bundle size desired by the customer is to be specified by selecting between three radio buttons: single, half-dozen, and dozen. The prices of these three options – $9.95, $35.95, and $65.95 respectively – should display next to the names of the options. At program startup, the single option should be selected by default. The special occasion for the order is to be selected from a combo box. Bonnie’s Balloons currently offers balloons for seven occasions, named as follows: Birthday, Congratulations, New Year’s Day, Valentine’s Day, Halloween, Graduation, and Anniversary. These occasion names are to be read in from an external text file named Occasions.txt. This file should be located in the default bin\Debug subfolder of the project. As the program begins, appropriate code should read these values from the text file into the list of the combo box. The occasions should always be displayed in the list in alphabetical order, regardless of how they are listed in the text file. Birthday should be displayed as the default choice at program startup. The program user should not be able to enter in an alternative to the existing choices.  Next in this section is to be a list box that displays the available “extras” that can be added to a balloon order, at additional cost. The five current options are: Coffee Mug, Flower Arrangement, Potted Plant, Box of

 

Chocolates, and Jar of Jelly Beans. A label should display the $9.50 price that applies to each option selected. These option names are to be read in from an external text file named Extras.txt. This file should be located in the default bin\Debug subfolder of the project. As the program begins, appropriate code should read these values from the text file into the list of the list box. The options should always be displayed in the list in alphabetical order, regardless of how they are listed in the text file. As many of these options as desired (including none or all) may be selected by the user. No options should initially be selected, and no alternative to the existing choices is to be allowed.

Finally in this section, a check box control should be included that allows the user to indicate whether the customer wishes to include a personalized message card in the order. The $2.50 price required for this option should be displayed in a label. Below this check box is to be a text box into which the custom message (to be printed on a card) may be entered. The message is to be limited to 30 characters, and a label near the text box should state this limitation. (Hint: To enforce this limit, use the MaxLength property of the text box control.) The text box and instruction label here should be disabled when the program starts, with the check box unchecked. Anytime the user checks the check box, the textbox and label should be enabled; when the check box is unchecked, the text box and label should be disabled (and any text in the text box deleted).

  • Order Totals – Three total values for the order should display in this section: the subtotal (which is the total pre-tax order price that includes all charges based on the selections made by the user), the sales tax amount (which is the subtotal times the tax rate of 7.00%; the tax rate should be displayed on the form here), and the order total (which is the subtotal plus the sales tax amount). When the program begins, these controls should display the values associated with the default settings of the form (single balloon bundle size is selected and no other item charges are included).

  • There are to be three buttons in a row at the bottom of the form. These are to be labeled: Display Summary, Clear Form, and Exit Program. There should be an Access Key and an appropriate ToolTip defined for each of these three buttons.

  • Clicking the Display Summary button is not to actually save any data to an external file in this initial program prototype. Instead, the saving of data will be simulated by displaying the entire contents of the order in a message box. This message box should have appropriate text in its title bar and should include an Information icon. The message box should display the following data, properly labeled, with one data item per line: a header line (e.g., Bonnie’s Balloons Order Summary); customer name (title, first name, and last name on one line); customer street; customer city, state, and zip (on one line); customer phone; delivery date; delivery type; bundle size; occasion; extras (with each extra on a separate line); message (left blank if there is no message); order subtotal; sales tax amount; and order total. After displaying the order summary message box, the form should be cleared and returned to its original

startup state. However, when the Display Summary button is clicked, if the customer first name or last name fields

have been left blank, or if the phone number entry is incomplete, the program should display an error message explaining that this specific information is required, instead of displaying the order summary. This error message box should have appropriate title bar text and an Error icon.

(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

697 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

677 Answers

Hire Me
expert
Husnain SaeedComputer science

510 Answers

Hire Me
expert
Atharva PatilComputer science

593 Answers

Hire Me