Visual Studio 2017   1.      Enter the three Option statements in the Code Editor window. 2.      One of the buttons in the interface should calculate and display the percentage of the total sales made by each of the three salespeople. Code the button's Click event procedure using named variables. 3.      Display the percentages with a percent sign and one decimal place. 4.      Code all 3 text box's TextChanged event procedure to clear the content of all 3 labels. 5.      Code each text box's Enter event procedure. 6.      Save the solution and test the application.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Visual Studio 2017

 

1.      Enter the three Option statements in the Code Editor window.

2.      One of the buttons in the interface should calculate and display the percentage of the total sales made by each of the three salespeople. Code the button's Click event procedure using named variables.

3.      Display the percentages with a percent sign and one decimal place.

4.      Code all 3 text box's TextChanged event procedure to clear the content of all 3 labels.

5.      Code each text box's Enter event procedure.

6.      Save the solution and test the application.

 

 

Sales Solution - Microsoft Visual Studio
Quick Launch (Ctrl+Q)
File
Edit View
Project Build Debug
Тeam
Tools
Test
Analyze
Window
Help
cowsandals@yahoo.com -
E E 2 - S -
> Start - ||
II
Main Form.vb* + x Main Form.vb [Design]*
Ve Sales Project
Solution Explorer
O btnCalc
e O A E -
Click
O references
Private Sub txtKaren_TextChanged (sender As Object, e As EventArgs) Handles txtKaren. TextChanged
Search Solution Explorer (Ctrl+;)
34
35
a Solution 'Sales Solution' (1 project)
1 VB Sales Project
- My Project
H References
I Resources
36
End Sub
37
O references
Private Sub txtMartin_Enter(sender As 0bject, e As EventArgs) Handles txtMartin. Enter
38
39
O App.config
| Main Form.vb
40
End Sub
41
O references
Private Sub txtMartin_TextChanged (sender As Object, e As EventArgs) Handles txtMartin. TextChanged
42
43
44
End Sub
45
O references
Solution Explorer Team Explorer
Private Sub frmMain_Load (sender As Object, e As EventArgs) Handles MyBase.Load
46
47
Properties
48
End Sub
49
End Class
50
100 %
Error List Output
O Ready
Ln 12
Col 9
Ch 9
INS
1 Add to Source Control A
ENG
4:18 PM
P Type here to search
a
US
4/30/2021
Transcribed Image Text:Sales Solution - Microsoft Visual Studio Quick Launch (Ctrl+Q) File Edit View Project Build Debug Тeam Tools Test Analyze Window Help cowsandals@yahoo.com - E E 2 - S - > Start - || II Main Form.vb* + x Main Form.vb [Design]* Ve Sales Project Solution Explorer O btnCalc e O A E - Click O references Private Sub txtKaren_TextChanged (sender As Object, e As EventArgs) Handles txtKaren. TextChanged Search Solution Explorer (Ctrl+;) 34 35 a Solution 'Sales Solution' (1 project) 1 VB Sales Project - My Project H References I Resources 36 End Sub 37 O references Private Sub txtMartin_Enter(sender As 0bject, e As EventArgs) Handles txtMartin. Enter 38 39 O App.config | Main Form.vb 40 End Sub 41 O references Private Sub txtMartin_TextChanged (sender As Object, e As EventArgs) Handles txtMartin. TextChanged 42 43 44 End Sub 45 O references Solution Explorer Team Explorer Private Sub frmMain_Load (sender As Object, e As EventArgs) Handles MyBase.Load 46 47 Properties 48 End Sub 49 End Class 50 100 % Error List Output O Ready Ln 12 Col 9 Ch 9 INS 1 Add to Source Control A ENG 4:18 PM P Type here to search a US 4/30/2021
Sales Solution - Microsoft Visual Studio
Quick Launch (Ctrl+Q)
File
Edit View
Project Build Debug
Тeam
Tools
Test
Analyze
Window
Help
cowsandals@yahoo.com -
E 2 2 - -
> Start - II
Main Form.vb* + x Main Form.vb [Design]*
Solution Explorer
VE Sales Project
O, btnCalc
Click
e O A E -
1 reference
O Public Class frmMain
Search Solution Explorer (Ctrl+;)
6.
7
a Solution 'Sales Solution' (1 project)
A VB Sales Project
- My Project
H References
I Resources
O references
Private Sub btnCalc Click(sender As Object, e As EventArgs) Handles btnCalc.Click
8.
9
' Calculate and display the percentage of the total sales contributed by each of three salespeople.
10
11
O App.config
| Main Form.vb
12
13
14
End Sub
15
O references
Private Sub btnExit_Click(sender As Object, e As EventArgs) Handles btnExit.Click
Me.Close()
16
17
Solution Explorer Team Explorer
18
19
End Sub
Properties
20
О references
21
Private Sub txtJim_Enter(sender As Object, e As EventArgs) Handles txtJim. Enter
22
23
End Sub
24
O references
Private Sub txtJim_TextChanged (sender As Object, e As EventArgs) Handles txtJim. TextChanged
25
26
27
End Sub
28
O references
Private Sub txtKaren_Enter(sender As Object, e As EventArgs) Handles txtKaren. Enter
29
30
31
32
End Sub
33
100 %
Error List Output
O Ready
Ln 12
Col 9
Ch 9
INS
1 Add to Source Control A
ENG
4:18 PM
P Type here to search
a
US
4/30/2021
Transcribed Image Text:Sales Solution - Microsoft Visual Studio Quick Launch (Ctrl+Q) File Edit View Project Build Debug Тeam Tools Test Analyze Window Help cowsandals@yahoo.com - E 2 2 - - > Start - II Main Form.vb* + x Main Form.vb [Design]* Solution Explorer VE Sales Project O, btnCalc Click e O A E - 1 reference O Public Class frmMain Search Solution Explorer (Ctrl+;) 6. 7 a Solution 'Sales Solution' (1 project) A VB Sales Project - My Project H References I Resources O references Private Sub btnCalc Click(sender As Object, e As EventArgs) Handles btnCalc.Click 8. 9 ' Calculate and display the percentage of the total sales contributed by each of three salespeople. 10 11 O App.config | Main Form.vb 12 13 14 End Sub 15 O references Private Sub btnExit_Click(sender As Object, e As EventArgs) Handles btnExit.Click Me.Close() 16 17 Solution Explorer Team Explorer 18 19 End Sub Properties 20 О references 21 Private Sub txtJim_Enter(sender As Object, e As EventArgs) Handles txtJim. Enter 22 23 End Sub 24 O references Private Sub txtJim_TextChanged (sender As Object, e As EventArgs) Handles txtJim. TextChanged 25 26 27 End Sub 28 O references Private Sub txtKaren_Enter(sender As Object, e As EventArgs) Handles txtKaren. Enter 29 30 31 32 End Sub 33 100 % Error List Output O Ready Ln 12 Col 9 Ch 9 INS 1 Add to Source Control A ENG 4:18 PM P Type here to search a US 4/30/2021
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 3 images

Blurred answer
Knowledge Booster
Label Controls
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education