Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Accumulate all of the order quantity / cost calculations by adding each Order s calculations to a running total of all Orders since the window

Accumulate all of the order quantity/cost calculations by adding each Orders calculations to a running total of all
Orders since the window was opened, and display accumulation calculations on your Form (hint: accumulations require
field variables that have to be declared below the class and above/outside of the method/event handlers). Also keep a
running count of the number of Orders so far, that increments by 1 each time the Calculate button is clicked.
c) Calculate when the accumulated cubic yards of all orders, have filled a truck that can hold 4 cubic yards of mulch,
displaying the Truck Base Capacity (assume a truck can hold 4 cubic yards of mulch and make this a constant in your C#
code), Cubic Yards Ordered so far; then using those two fields, calculate the Trucks Remaining Capacity in cubic yards.
d) Add a Clear button to clear all fields on the form and to reset ALL the accumulators on the Form and ALL the
accumulators in memory variables
e) Make the background color of the label that displays the Trucks Remaining Capacity Light Green if the Trucks
Remaining Capacity is greater than zero, or set the background color to Yellow if it is less than or equal to zero; Add a
Label to the top or bottom of the form that displays [Your Name] Landscaping Company
f) Validation would normally be required to verify that the end-user actually entered numeric data into any numeric-based
text box controls; however, I am NOT requiring you to put in numeric validation logic for this mulch calculator project

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

LO6 Describe how individual pay rates are set.

Answered: 1 week ago