电影院座位预订问题 [英] Problem on cinema seat booking

查看:308
本文介绍了电影院座位预订问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为一个大学项目创建一个电影院预订系统,该系统就是这样.
柜台工作人员可以选择1个以上的座位,例如,一个人要买2张电影票,当工作人员将鼠标悬停在3号座位上时,背景色将改变,3号座位旁的座位也将改变...
seat2和seat3或seat3和seat4 ..

还有1个...
假设有2个柜台人员处理2人的请求,那么当第一员工有书位3时,第二员工应该能够看到座位上的变化...
还有什么更好的方法,然后保持那种形式呢?

我不是高级用户,所以我想知道你们是否可以通过向我展示解决我的问题的最简单方法来帮助我.

I am creating a Cinema Booking system for a college project, the system is like this..
The counter staff can select more than 1 seat, for example, a person want to buy 2 ticket for a movie, when the staff mouse over seat3, the backcolor will change and the seat beside seat3 also will change...
either seat2 & seat3 or seat3 & seat4..

and 1 more...
assume that there have 2 counter staff handles 2 people request, when 1st staff had book seat3 and 2nd staff should be able to see the changes on the seat...
any better way beside then keep reflesh that form??

Im not an advanced user so i was wondering if you guys could help me out by showing me the easiest way to solve my problem.

推荐答案

这是涉及真正技能的地方成为一名程序员是必需的.我希望您的教授如果认为自己没有教给您成功完成项目所需的一切知识,也不会给您任务.

This is where real skill involved in being a programmer is required. I would hope that your professor wouldn''t have given you the assignment if he didn''t think he had taught you everything you need to know in order to successfully complete the project.

zong0525写道:
zong0525 wrote:

如果你们可以通过向我展示解决问题的最简单方法来帮助我.

if you guys could help me out by showing me the easiest way to solve my problem.



程序员的秘密#1-有时候,没有简单的方法".

程序员的秘密#1附录:即使您正在使用VB ...



Programmer secret #1 - Sometimes, there is no "easy way".

Programmer secret #1 addendum: Even if you''re using VB...


这篇关于电影院座位预订问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆