public BuyWindow(ProxyTicket ticket, Seat seat) { _ticket = ticket; _seat = seat; InitializeComponent(); label3.Text = ticket.CountCurrentCost() + " hrn"; }
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; } }