Your company has been contracted to create a windows application in C# to calculate the average...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Your company has been contracted to create a windows application in C# to calculate the average number of units shipped per week. Your solution will take an input for each day in the week numbered from 1 to 7. The user input data will need to be validated and, if it passes validation, the data will need to be displayed to the user. Once the number of units has been entered for the 7th day the solution will calculate and display the average to the user. As well, the solution will not allow the user to strike the enter key or input any more data until the form is Reset/Cleared. The solution should also allow the user to exit the program regardless of the state of the form, in other words. The user can exit at any time. Average Units Shipped Units: 123 • • Enter Average Units Shipped Enter 1. The form should... • • Reset Units: 123 456 567 999 888 565 451 Average per day: 578.43 2. All buttons should... • Reset Day 1: Day 7 3. Result/Output Label should... Have its tab index set. Not be allowed to auto size Exit Exit X X Average Units Shipped Units: 435 123 456 567 999 Enter Not allow maximizing or minimizing of the screen. Have its title bar set to something meaningful. Ensure its Accept and Cancel buttons are set. Open in the center of the screen. Be named as per our development style guide. Average Units Shipped Units: Enter Reset Reset Day 5 Day 1 Have their tab indexes set. Have its text set appropriately using access keys (&) to ensure efficiency. Have a tool tip to ensure the user understand the purpose of the key. Be named as per our development style guide. Ext Exxt X • • 4. Labels that are used strictly for the purpose describing the use of another control like Label to TextBox should... • • Have its text set to an empty string. Have its text in the text box should be aligned MiddleCenter. Have a tool tip to ensure the user understand the purpose of the control. Have a 3D border style. Be named as per our development style guide. • Have their tab indexes set. Not be allowed to auto size. The text should be aligned MiddleRight. Have its text set appropriately using access keys (&) to ensure efficiency. Be named as per our development style guide. 5. Input text box should... Have their tab indexes set. Text should be empty. Have a tool tip to ensure the user understand the purpose of the control. Be named as per our development style guide. 6. Entry display text box should... Have its tab indexes set. Text should be empty. Have a tool tip to ensure the user understand the purpose of the control. Be named as per our development style guide. 7. ToolTip control should be named as per our development style guide User Input Flow • 1. The user should be allowed to exit the solution by either... Clicking the Exit Button with the mouse on the screen. Clicking the Control Box with the mouse on the screen. Tabbing to the Exit Button and Tapping Enter on the keyboard. • 2. The user should be allowed to reset the screen by... • Clicking the Reset Button with the mouse on the screen. • Tapping the Esc Key on the keyboard, • Tabbing to the Reset Button and Tapping Enter on the keyboard. 3. The user will enter a number representing units shipped into a text box and then will... • Tap the Enter Key on the keyboard. Click the Enter button with the mouse on the screen. • Tab to the Enter Button and Tapping Enter on the keyboard. 4. Once the units shipped has been entered the... Input text box should be cleared. Display text box should show any existing entries, as well as, the new entry. 5. Once input for 7 days has been entered the user should... • Be prevented from entering any more data, until the reset button is clicked, by ... o Making the user input text box read only. o Disabling the Enter Button. • See the calculated average in the Result/Output label. 6. If the user wishes to enter a new week's set of data they will need to... Click the Reset button with the mouse on the screen. Tap the Esc key on the keyboard. • Tab to the Reset Button and Tapping Enter on the keyboard. 1. All classes and form must be set to Option Strict On 2. The client requires that the user must input the units shipped for each of the 7 days in a week, numbered 1 to 7. 3. For the units shipped to be valid it must be... A whole number only... o Displaying an Validation error message if a whole number was not entered o And, for maximum efficiency, the invalid entry should be selected in the entry text box so the user is not required to clear out the text box to make a valid entry. Between 0 and 1000 inclusive o Displaying a Validation error message that the number entered was not in the appropriate range and display the range in the message. o and, for maximum efficiency, the invalid entry should be selected in the entry text box so the user is not required to clear out the text box to make a valid entry. . 4. If the units shipped is valid... It will need to be stored in a array for the processing section of the solution o Units shipped will be stored in the array by day. (So, the first index (0) will be day 1, etc.) Units will need to be displayed on the screen in a multiline text box, with each entry appearing on a different line, so the user can easily see what has already been entered. 5. Once the user has entered valid units shipped for all 7 days, the solution needs to • Loop the array to sum the shipped units in the array elements • Use the sum of the units shipped to calculate the average units sold. • Prevent the user from entering any more data, until the reset button is clicked, by... o Making the user input text box read only o Disabling the Button that controls 6. The average units sold will then be displayed to the user rounding to 2 decimal places. 7. The user can now either exit or reset the form to enter a new weeks set of data 8. Reset ... Should have its own Method (subroutine). Please ensure that the reset clears/resets form level variables form level variables as well as Input controls. Your company has been contracted to create a windows application in C# to calculate the average number of units shipped per week. Your solution will take an input for each day in the week numbered from 1 to 7. The user input data will need to be validated and, if it passes validation, the data will need to be displayed to the user. Once the number of units has been entered for the 7th day the solution will calculate and display the average to the user. As well, the solution will not allow the user to strike the enter key or input any more data until the form is Reset/Cleared. The solution should also allow the user to exit the program regardless of the state of the form, in other words. The user can exit at any time. Average Units Shipped Units: 123 • • Enter Average Units Shipped Enter 1. The form should... • • Reset Units: 123 456 567 999 888 565 451 Average per day: 578.43 2. All buttons should... • Reset Day 1: Day 7 3. Result/Output Label should... Have its tab index set. Not be allowed to auto size Exit Exit X X Average Units Shipped Units: 435 123 456 567 999 Enter Not allow maximizing or minimizing of the screen. Have its title bar set to something meaningful. Ensure its Accept and Cancel buttons are set. Open in the center of the screen. Be named as per our development style guide. Average Units Shipped Units: Enter Reset Reset Day 5 Day 1 Have their tab indexes set. Have its text set appropriately using access keys (&) to ensure efficiency. Have a tool tip to ensure the user understand the purpose of the key. Be named as per our development style guide. Ext Exxt X • • 4. Labels that are used strictly for the purpose describing the use of another control like Label to TextBox should... • • Have its text set to an empty string. Have its text in the text box should be aligned MiddleCenter. Have a tool tip to ensure the user understand the purpose of the control. Have a 3D border style. Be named as per our development style guide. • Have their tab indexes set. Not be allowed to auto size. The text should be aligned MiddleRight. Have its text set appropriately using access keys (&) to ensure efficiency. Be named as per our development style guide. 5. Input text box should... Have their tab indexes set. Text should be empty. Have a tool tip to ensure the user understand the purpose of the control. Be named as per our development style guide. 6. Entry display text box should... Have its tab indexes set. Text should be empty. Have a tool tip to ensure the user understand the purpose of the control. Be named as per our development style guide. 7. ToolTip control should be named as per our development style guide User Input Flow • 1. The user should be allowed to exit the solution by either... Clicking the Exit Button with the mouse on the screen. Clicking the Control Box with the mouse on the screen. Tabbing to the Exit Button and Tapping Enter on the keyboard. • 2. The user should be allowed to reset the screen by... • Clicking the Reset Button with the mouse on the screen. • Tapping the Esc Key on the keyboard, • Tabbing to the Reset Button and Tapping Enter on the keyboard. 3. The user will enter a number representing units shipped into a text box and then will... • Tap the Enter Key on the keyboard. Click the Enter button with the mouse on the screen. • Tab to the Enter Button and Tapping Enter on the keyboard. 4. Once the units shipped has been entered the... Input text box should be cleared. Display text box should show any existing entries, as well as, the new entry. 5. Once input for 7 days has been entered the user should... • Be prevented from entering any more data, until the reset button is clicked, by ... o Making the user input text box read only. o Disabling the Enter Button. • See the calculated average in the Result/Output label. 6. If the user wishes to enter a new week's set of data they will need to... Click the Reset button with the mouse on the screen. Tap the Esc key on the keyboard. • Tab to the Reset Button and Tapping Enter on the keyboard. 1. All classes and form must be set to Option Strict On 2. The client requires that the user must input the units shipped for each of the 7 days in a week, numbered 1 to 7. 3. For the units shipped to be valid it must be... A whole number only... o Displaying an Validation error message if a whole number was not entered o And, for maximum efficiency, the invalid entry should be selected in the entry text box so the user is not required to clear out the text box to make a valid entry. Between 0 and 1000 inclusive o Displaying a Validation error message that the number entered was not in the appropriate range and display the range in the message. o and, for maximum efficiency, the invalid entry should be selected in the entry text box so the user is not required to clear out the text box to make a valid entry. . 4. If the units shipped is valid... It will need to be stored in a array for the processing section of the solution o Units shipped will be stored in the array by day. (So, the first index (0) will be day 1, etc.) Units will need to be displayed on the screen in a multiline text box, with each entry appearing on a different line, so the user can easily see what has already been entered. 5. Once the user has entered valid units shipped for all 7 days, the solution needs to • Loop the array to sum the shipped units in the array elements • Use the sum of the units shipped to calculate the average units sold. • Prevent the user from entering any more data, until the reset button is clicked, by... o Making the user input text box read only o Disabling the Button that controls 6. The average units sold will then be displayed to the user rounding to 2 decimal places. 7. The user can now either exit or reset the form to enter a new weeks set of data 8. Reset ... Should have its own Method (subroutine). Please ensure that the reset clears/resets form level variables form level variables as well as Input controls.
Expert Answer:
Related Book For
Core concepts of accounting information systems
ISBN: 978-1118742938
13th edition
Authors: Jacob M. Rose, Mark G. Simkin, Carolyn Strand Norman
Posted Date:
Students also viewed these accounting questions
-
A state executive claims that the average number of acres in western Pennsylvania state parks is less than 2000 acres. A random sample of five parks is selected, and the number of acres is shown. At ...
-
The following table shows the average number of viewers aged 18-49 who watch the ABC, CBS, FOX, or NBC networks at 10: 00 p. m. The data were collected by Nielsen during the last week of January 2012...
-
An educational researcher sought to estimate the average number of close friends that students on a particular campus made during their first year of school. Questioning a random sample of 50...
-
Assume that global lightning on the Earth constitutes a constant current of 1.00 kA between the ground and an atmospheric layer at potential 260 kV. (a) Find the power of terrestrial lightning. (b)...
-
Assume that you will have a 10-year, $10,000 loan to repay to your parents when you graduate from college next month. The loan, plus 8 percent annual interest on the unpaid balance, is to be repaid...
-
Why has the number of bank holding companies dramatically increased?
-
A trampoline's springs are what allow you to bounce, and if you bounce long enough, the springs get warm. Using Figure 7. 10 as a guide, classify the energy in the springs that accounts for \((a)\)...
-
Northern Gas wants to move its sales order system to the Internet. Under the proposed system, gas stations and other merchants will use a secure site to check the availability and current price of...
-
The goal of this activity is to understand the role of business ethics in everyday company operations. Business ethics is the application of general ethical ideas to business behavior. Business...
-
Jose Loder established Bronco Consulting on August 1, 20Y2. The effect of each transaction and the balances after each transaction for August follow: Instructions 1. Prepare an income statement for...
-
5. Determine an expression for f(x) in which f(x) is a quartic function f(x) has a root of order 2 at x=-2 and two other roots at x=2 and x = 1 f(-1)= 14. [3K]
-
A start-up company needs $2 Million funds to finance their growth. A venture capitalist approached the shareholders to provide them with the funds needed but the required return per year demanded is...
-
Adrial (20) is a single North Carolina resident. She is a full-time student and will be claimed as a dependent on her parents' tax return. She is required to file a North Carolina tax return. What...
-
5. Describe the critical path and critical node in project management. Find out the critical path for the following table. Also find out Early Start, Early Finish, Late Start, Late Finish of all the...
-
3.4 Sales of cars declined by 15 per cent in a recent recession. During this period the price of cars rose by 6 per cent, average income fell by 4 per cent and the price of petrol rose by 20 per...
-
When it comes to marketing, influencers and content creators are a powerful tool. What are three brand benefits of influencer marketing?
-
FFG Industrials just paid a dividend of $3.00. Given the high demand in its industry, dividends are projected to increase 15% in the next year and 12% in the following year. After thak, dividends are...
-
Use the following data to answer the next two (2) questions: Product 1 Product 2 Product 3 Direct Material Cost $25,000 $30,000 $35,000 Direct Labor Cost $30,000 $40,000 $50,000 Direct Labor Hours...
-
Jason Saving is an IT auditor for a large, public accounting rm. His manager has assigned him to the Consolidated Company audit. The IT auditors must complete several evaluating and testing...
-
Pucinneli Supermarkets is similar to most other grocery store chains that use the 12-digit UPC code on packages to check out customers. For a variety of reasons, it is important that the computer...
-
Jay Beck works for the AAZ Consulting Firm. His friend, Hank Henley, is the general manager and majority stockholder of the Pacific World- winds, a professional football team. Hank asked Jay to...
-
Climate change (a) is a subject most scientists disagree about. (b) refers to the effect of greenhouse gases on atmospheric temperature. (c) refers to temperature increases in all of Earths climate...
-
Why do earthquakes produce seismic waves?
-
In an ice age, glaciers (a) advance. (b) retreat. (c) cause sea level to rise. (d) reflect incoming solar radiation.
Study smarter with the SolutionInn App