Clearly Visual Basic Programming with Microsoft Visual Basic 2012 5th Edition Chapter 5 Exercise 4 Concert Solution
Create a Visual Basic Windows application. Use the following names for the solution and project, respectively: Concert Solution and Concert project. Save the application in the VB2012\Chap05 folder. Change the form file’s name to Main Form.vb. Change the form’s name to frmMain. Create the interface shown in Figure 5-69. The three text boxes should be invisible when the application starts. When the user selects a check box, its corresponding text box should appear in the interface and remain visible until the user deselects the check box. The user will enter the number of tickets he or she wants to purchase in the appropriate text box. Keep in mind that the user can purchase any combination of tickets, such as 3 box tickets and 5 lawn tickets, or 2 pavilion tickets 1 box ticket, and 2 lawn tickets. The application should calculate and display the total number of tickets purchase and the total price. The tickets for box, pavilion and the lawn seats are $75, $30, $21, respectively. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.
There are no reviews yet.