示例#1
0
 public void ResetTickets()
 {
     NormalTicketOrder  = new NormalTicketOrder(this);
     ChildTicketOrder   = new ChildTicketOrder(this);
     StudentTicketOrder = new StudentTicketOrder(this);
     SeniorTicketOrder  = new SeniorTicketOrder(this);
     PopcornTicketOrder = new PopcornTicketOrder(this);
     LadiesTicketOrder  = new LadiesTicketOrder(this);
 }
示例#2
0
        public CinemaViewModel()
        {
            SeatCoordList = new List <SeatCoord>();

            NormalTicketOrder  = new NormalTicketOrder(this);
            ChildTicketOrder   = new ChildTicketOrder(this);
            StudentTicketOrder = new StudentTicketOrder(this);
            SeniorTicketOrder  = new SeniorTicketOrder(this);
            PopcornTicketOrder = new PopcornTicketOrder(this);
            LadiesTicketOrder  = new LadiesTicketOrder(this);

            pinValue = "";
        }