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.
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. 3 column table. the columns are labeled:
salesperson, 2018 sales, $, 2019 sales, $. Sales person, Jacob Schmidt; 2018 sales, 4000; 2019 sales, 7200. Salesperson, Joe Smith; 2018 sales, 4000; 2019 sales, 5000. Salesperson, Rex Parker; 2018 sales, 2500; 2019 sales, 6500. Salesperson, Sue Chen; 2018 sales, 4000; 2019 sales, 7200. Salesperson, Sue Perez; 2018 sales, 3900; 2019 sales, 6000. Salesperson, Suman Patel; 2018 sales, 3600; 2019 sales, 7000.
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.
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