Baseball Ticket Sales Solution

Baseball Ticket Sales
Design a Windows application and write the code that will execute according to the program requirements and the chart in Figure 8-76, the Program Requirements in Figure 8-77, and the Use Case definition in Figure 8-78 Before writing the code, create an event planning document for each event in the program.The completed Windows Form object and other objects in the user interface are shown in Figure 8-79 and Figure 8-80
Figure 8-76
Type of Ticket Seat Type Cost
Season Tickets Box Seats $2500
Lower Deck $1500
Single Game Tickets Box Seats $55
Lower Deck $35
Upper Deck $ 25
Standing Room Only $ 15
Figure 8-77
REQUIREMENTS DOCUMENT
Date submitted: June 21, 2014
Application title:Baseball Ticket Sales
Purpose:This Window application computes the cost of baseball tickets
Program Procedures: From a Windows application, allow the user to select season or
single-gamebaseball tickets and computes the cost of the tickets.

Algorithms, 1. The user is requested to select whether to purchase season or single-
Processing, andgame tickets from a ComboBox object. The other objects are not
Conditions: visible until the user selects this option.
2. The user is requested to enter the number of tickets needed in a
TextBox object.
3. The user is requested to select the type of seats from a ListBox object.
4. One of two Function procedures will be called for season or single-game
tickets tocompute and pass back the final cost of the tickets.
Notes 1.A Clear Form button should clear the Form.
and Restrictions: 2.A Try-Catch block in separate procedures will validate the input.

Comments: 1.The picture should be selected from a picture available on the Web.
2. A splash screen begins this application.
FIGURE 8-78
USE CASE DEFINITION
1. User views opening splash screen for five seconds.
2. User selects whether to purchase season tickets or single-game tickets.
3. User enters the number of tickets needed and the type of seats based on whether they selected
season or single-game tickets.
4. User clicks the Compute Ticket Cost button to display the final cost.
5. User clicks the Clear Form button to clear the responses.

Figures 8-79 and 8-80


Powered by