Open the Orders Solution.sln file contained in the VB2017Chap03Orders Solution folder. The interface provides a button for
Question:
Open the Orders Solution.sln file contained in the VB2017Chap03Orders Solution folder. The interface provides a button for adding the number ordered to the total ordered, and a button for subtracting the number ordered from the total ordered. Code the application using a class-level variable. Be sure to code the text box’s TextChanged and Enter event procedures. Save the solution and then start the application. Test the application by adding any two numbers, then subtracting any three numbers, and then adding any four numbers. (If you add 7 and 5, and then subtract 2, 1, and 6, and then add 10, 7, 4, and 5, the total ordered will be 29.)
' Name: Orders Project
' Purpose: Calculate and display the total numbered ordered.
' Programmer: <your name> on <current date>
Option Explicit On
Option Strict On
Option Infer Off
Public Class frmMain
Private Sub btnExit_Click(sender As Object, e As EventArgs) Handles btnExit.Click
Me.Close()
End Sub
End Class