Create a Visual Basic Windows application. Use the following names for the solution and project respectively: KJ Solution and KJ Project. Save the application in the VB2012\Chap02 folder. Change the form file’s name to Main Form.vb. Change the form’s name to frmMain. The form should be centered on the screen when it first appears; set the appropriate property. Create the interface shown in Figure 2-20. Use the following names for the text boxes, labels, and buttons: txtNsales, txtSsales, txtEsales, txtWsales, txtNincrease, txtSincrease, txtEincrease, txtWincrease, lblNorth, lblSouth, lblEast, lblWest, btnCalc, btnPrint, btnClear, and btnExit. (Or, use the names from the TOE chart you created in Lesson A’s Exercise 3.) The contents of the four label controls that display the projected sales should be right-aligned; set the appropriate property. Lock the controls on the form. Set the TabIndex values appropriately. The Exit button should end the application when it is clicked; code the appropriate event procedure. Save the solution and then start the application. Verify that the tab order is correct. Also verify that the access keys work appropriately. Use the Exit button to end the application. Close the solution. (You will code the Calculate, Print, and Clear buttons in Lesson C’s Exercise 5.)
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.