Question
Create a Windows Forms application. Use the following names for the project and solution, respectively: Adaline Project and Adaline Solution. Save the application in the
Create a Windows Forms application. Use the following names for the project and solution, respectively: Adaline Project and Adaline Solution. Save the application in the VB2017\Chap08 folder. Create the interface shown in Figure 8-54. The figure also contains the major tasks that the application needs to perform. Code the application. Save the solution and then start and test the application.
Information for Exercise 19
1). Declare a class-level Integer array to store the sales amounts for the following salespeople. You can create either a two-row, six-column array or a six-row, two-column array.
Salesperson 2018sales($) 2019sales($)
Jacob Schmidt 4000 7200
Rex Parker 4000 5000
Joe Smith 2500 6500
Sue Chen 4000 7200
Sue Perez 3900 6000
Suman Patel 3600 7000
2). Regarding the controls in the first group box: the display sales button should display the sales amount associated with the items selected in the Salespeople and Years list boxes. For example, if All and Both are selected, the button should display the total of all the sales stored in the array, $60,900. If All and 2019 are selected, the button should display only the sales amounts for the year 2019 ($38,900). If Sue Chen and Both are selected, the button should display the total sales made by Sue Chen for both years, $11,200. If Sue Chen and 2018 are selected, the button should display only the amount Sue Chen sold in 2018, $4,000.
3). Regarding the controls in the second group box: The Sales and names button should display the sales amount and names associated with the items selected in the Years and Status list boxes. For example, if 2018 and Highest are selected, the button should display the highest sales amount made in 2018, $4,000 and the name or names of each salesperson who made that sales amount, Jacob Schmidt, Joe Smith, and Sue Chen.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started