Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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_2

Step: 3

blur-text-image_3

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

Current Trends In Database Technology Edbt 2004 Workshops Edbt 2004 Workshops Phd Datax Pim P2panddb And Clustweb Heraklion Crete Greece March 2004 Revised Selected Papers Lncs 3268

Authors: Wolfgang Lindner ,Marco Mesiti ,Can Turker ,Yannis Tzitzikas ,Athena Vakali

2005th Edition

3540233059, 978-3540233053

More Books

Students also viewed these Databases questions

Question

Briefly explain the qualities of an able supervisor

Answered: 1 week ago

Question

Define policy making?

Answered: 1 week ago

Question

Define co-ordination?

Answered: 1 week ago

Question

What are the role of supervisors ?

Answered: 1 week ago

Question

=+j Explain the litigation risks in international labor relations.

Answered: 1 week ago

Question

=+j What rules will apply to the process of negotiations?

Answered: 1 week ago