2 Replies - 310 Views - Last Post: 17 January 2013 - 09:17 AM Rate Topic: -----

#1 SaintXine  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 17-January 13

designing an airline seat reservation system

Posted 17 January 2013 - 09:10 AM

Hello guys, am new to C# and a have a task to design an airline seat reservation system with 40 seats and the system is to be managed by the clerk at the airline office. It has a back list where names of customers who don't get a seat are kept and transferred to the main booking list if there is any cancellations. I am trying to use a windows form application for the design and I intend to assign at least 8 seats to Business class and the rest to economy class. But I intend to use normal buttons as symbols for the seats and on clicking any of the buttons, it brings up another form to enter the seat information.And after a seat is reserved, the colour of the button changes to indicate its been booked.
My problem is, I don't know if this design can be done in C# and if it can be done, I have no idea now to make the back list (would I have another windows form for it or would I just write a bunch of codes for it?).
Please I will appreciate any help even a sample of what you guys think the form could look like.
Thanks

Is This A Good Question/Topic? 0
  • +

Replies To: designing an airline seat reservation system

#2 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5467
  • View blog
  • Posts: 11,745
  • Joined: 02-June 10

Re: designing an airline seat reservation system

Posted 17 January 2013 - 09:17 AM

This homework is posted a dozen times on DIC. Look at the botton of this page or do a search for Airplane and you'll find numerous approaches to this homework.

But we can't do all your design work for your homework. That *is* the homework, to design this then code it.
Was This Post Helpful? 1
  • +
  • -

#3 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9059
  • View blog
  • Posts: 34,014
  • Joined: 12-June 08

Re: designing an airline seat reservation system

Posted 17 January 2013 - 09:17 AM

Quote

My problem is, I don't know if this design can be done in C# and if it can be done,

Why couldn 't it do this?
Sure.. enable buttons disable buttons.. check..
layouts - check..
data entry? check.

Quote

I have no idea now to make the back list

A datagrid in a form wouldn't be a problem (with.. a database table) and the appropriate work flow that if a seat is suddenly vacated an event fires of and checks the next person in line.. if there's someone there assign them to the seat and remove them from the back log queue.

Edit - whoops.. looks like this was posted as it was being locked.. silly me.

This post has been edited by modi123_1: 17 January 2013 - 09:19 AM

Was This Post Helpful? 1
  • +
  • -

Page 1 of 1