Monday, April 29, 2019

Abbey Wood Playhouses Ticketing System Essay Example | Topics and Well Written Essays - 5000 words

Abbey Wood Playhouses Ticketing System - Essay ExampleIf its a casual booking than it can be So pseudo code for this coat will be similar to below for booking.if Show envision is 7 day and day = sunlightThen Check for the seat availabilityIf seat(s) is(are) available, Check is booster is holding any discount ( i.e. student or other discount) and so ticket footing = 2.5 and let the system book the ticketIf its a bulk booking ( i.e. seats 5 and Seats then ticket price = 2.0 and let the system book the ticketElse If there is no discount then price = 3.0 and let system book the ticket.End if End ifEnd ifPseudo code for this application will be similar to below for cancelling.if Show date is 7 day and day = SundayThen Ask for seat to be cancelled.If seat is in database then allow cancellation. Else Show fracture message that system cant cancel the ticket.End ifEnd If.3. Creating the Application in Visual Basic .NET. next program has been written as per the above design. This pr ogram has been written using Visual Basic .NET. disposed is the source code of the different forms and module.Module code with ticket as an objectOption manifestType ticketpatron_name As mountain chain * 30patron_phone As String * 10patron_email As String * 30patron_seat As String * 30seat_status As String * 2show_date As Dateprice As DoubleID As IntegerEnd TypeSource for designing the form1.Private hoagie Command1_Click()Form4.ShowForm1.HideEnd fill inPrivate Sub Command2_Click()Form2.ShowForm1.HideEnd SubPrivate Sub Command3_Click()Form5.ShowForm1.HideEnd SubSource for designing the form2.Option ExplicitDim position As IntegerDim rec As ticketDim fileno As... This application has now been modified so that it uses the Microsoft access database, rather than a hit-or-miss access file. Following is the attached Access database file which has been created when data was entered in this application.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.