I have a program that needs to display a seating plan for a theatre company. It want it to be able to easily display all of the seats of which there are 420. These are made up by 14 rows with 30 seats in each. I want to be able to save these back into a file. Dat or Inifile, though Inifile would be more hassle free as I already have created for settings. I want to be able to click on the seat that is show on the screen and it bring up all the information about the person who is sitting there, there name and so on. The program must be able to be closed and the data reloaded. I wasn't sure if my best option was to add 420 buttons to a form and write a function for it and then recall it on each button. The buttons will Show Red if taken and Green if available. The data will then be recalled later on to place on the tickets that will be printed. Data should be able to also be entered into the seat, the name of the purchaser, production name, Row, Seat number and so on.
What is the most convenient was of doing this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…