Visual Studio – Assignment 3
Create a C# windows forms application project called Airline Booking. This program allows
the user to book an airline ticket. The user will enter Departure city, Destination city,
departure date, return date, number of passengers. The program will then calculate the total
cost based on the number of passengers, cost, payment info. When user clicks Save, it should
display all the information along with the booking successful message and create and write
the information to a file. See below for details
Control Type Text How should this field work?
. Label The screen should have a title
. Picturebox Logo for your airline company
. Label Departure city
. Combo List (for Should display the following 3 User should be able to
the departure cities Toronto select the city by clicking
city) Winnipeg on the city name
Vancouver
. Label Destination city
. Combo List (for Should display the following 3 User should be able to
the destination cities Toronto select the city by clicking
city) Winnipeg on the city name
Vancouver
. Label Departure Date
. Label Return Date
. MonthCalendar User should be able to select a
(for the date
departure date.
You will need to
research how to use it)
. MonthCalendar User should be able to select a
(for the return date
date. You will
need to research
, how to use it)
. Label Number of Passengers
. TextBox User should be able to enter
the number of passengers
1
. Button Calculate Clicking on this button
should calculate the
total cost = cost of 1
ticket * the number of
passengers and assign it
to the total cost amount
label (see table below
for cost of 1 ticket
based on the travel
cities)
. Label Total Cost
. Label Should display the total cost amount
Create a C# windows forms application project called Airline Booking. This program allows
the user to book an airline ticket. The user will enter Departure city, Destination city,
departure date, return date, number of passengers. The program will then calculate the total
cost based on the number of passengers, cost, payment info. When user clicks Save, it should
display all the information along with the booking successful message and create and write
the information to a file. See below for details
Control Type Text How should this field work?
. Label The screen should have a title
. Picturebox Logo for your airline company
. Label Departure city
. Combo List (for Should display the following 3 User should be able to
the departure cities Toronto select the city by clicking
city) Winnipeg on the city name
Vancouver
. Label Destination city
. Combo List (for Should display the following 3 User should be able to
the destination cities Toronto select the city by clicking
city) Winnipeg on the city name
Vancouver
. Label Departure Date
. Label Return Date
. MonthCalendar User should be able to select a
(for the date
departure date.
You will need to
research how to use it)
. MonthCalendar User should be able to select a
(for the return date
date. You will
need to research
, how to use it)
. Label Number of Passengers
. TextBox User should be able to enter
the number of passengers
1
. Button Calculate Clicking on this button
should calculate the
total cost = cost of 1
ticket * the number of
passengers and assign it
to the total cost amount
label (see table below
for cost of 1 ticket
based on the travel
cities)
. Label Total Cost
. Label Should display the total cost amount