Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Part1 very very boards does a big business in shirts, especially for groups and

ID: 3535599 • Letter: P

Question

Part1

very very boards does a big business in shirts, especially for groups and teams. They need a project that will calculate the price for individual orders, as well as a summary for all orders.

The store employee will enter the orders in an order form that has text boxes for customer name and order number. To specify the shirts, use a text box for the quantity, radio buttons to select the size.(small, medium, large, extra large, and XXL), and check boxes to specify a monogram and/or a pocket. Display the shirt price for the current order and the order total in ReadOnly text boxes or labels.

Include buttons to add a shirt to an order, clear the current item, complete the order, and display the summary of all orders. Do not allow the summary to display if the current order is not complete. Also disable the text boxes for customer name and order number after an order is started; enable them again when the user clicks on the button to begin a new order. Confirm the operation before clearing the current order.

When the user adds shirts to an order, validate the quantity, which must be greater then zero. If the entry does not pass the validation, do not perform any calculations but display a message box and allow the use to correct the value. Determine the price of the shirts from the radio buttons and check boxes for the monogram and packets. Multiply the quantity by the price to determine the extended price, and add to the order total and summary total.

Display the order summary in a message box. Include the number of shirts, the number of orders, and the dollar total of the orders.

Part2

Modify Part 1 to add a menu and a function procedure. Write a function procedure to calculate and return the price of shirts; display the About box in a message box.

Allow the user to change the font size and font color of the label that displays the complany slogan.

Include keyboard shortcuts for the menu commands.

The Slogan and Logo: Slogan = "The Best is Boards" the logo should be a graphic, you can use an icon. The slogan and Logo menu choices must toggle and display a check mark when selected. For example when the slogan is displayed, the slogan menu command is checked. If the user selects the slogan command again, hide the slogan and uncheck the menu command. The Slogan and Logo commands operate independantly; that is, the user may select either, both, or neither item.

When the project begins the slogan and logo can both be displayed and their menu commands appear checked.

Part3

Modify Part 2 to seperate the project into multiple forms. Include a summarty form, a splash screem, and an About box.

Explanation / Answer

Public Class Form1 'Define Modular Level Variables Const SMALL_CHG_DECIMAL As Decimal = 10 Const MEDIUM_CHG_DECIMAL As Decimal = 10 Const LARGE_CHG_DECIMAL As Decimal = 10 Const XLARGE_CHG_DECIMAL As Decimal = 11 Const XXLARGE_CHG_DECIMAL As Decimal = 12 Const MONOGRAM_CHG_DECIMAL As Decimal = 2 Const POCKET_CHG_DECIMAL As Decimal = 1 Dim TotalShirtsinteger As Integer Dim TotalSalesDecimal As Decimal Dim ExtPriceDecimal As Decimal Dim OrderTotalDecimal As Decimal Dim DailyTotalDecimal As Decimal Dim OrderQTYInteger As Integer Dim DailyQTYInteger As Integer Dim QtyInteger As Integer Private Sub CalculateButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CalculateButton.Click 'Define Local Level Variables Dim BasePriceDecimal As Decimal Dim ValidDataBoolean As Boolean = True ' Boolean flag for data validation 'Reset ExtPriceDecimal ExtPriceDecimal = 0 ErrorProvider1.Clear() Try 'Try the qty QtyInteger = Integer.Parse(QTYTextBox.Text) If QtyInteger