예제 #1
0
 public BuyWindow(ProxyTicket ticket, Seat seat)
 {
     _ticket = ticket;
     _seat   = seat;
     InitializeComponent();
     label3.Text = ticket.CountCurrentCost() + " hrn";
 }
예제 #2
0
        public HallWindow(int selectedMovieIndex)
        {
            Cinema cinema = Cinema.GetCinema();

            _movie             = cinema.Movies[selectedMovieIndex];
            _ticket            = new ProxyTicket();
            _ticket.CinemaName = cinema.Name;
            InitializeComponent();
            SetMovieSeances(cinema.Movies, selectedMovieIndex);
            if (Cinema.CurUser == null)
            {
                enterLabel.Visible = true;
            }
        }