예제 #1
0
        public MovieSeatsPage(Window window, Page previousPage, SqlConnectionFactory sqlConnectionFactory, Screening screening) : base(window, previousPage, sqlConnectionFactory)
        {
            InitializeComponent();
            Loaded += (sender, args) => SpeechControl.SetParent(this);

            Screening = screening;

            InitializeSeatsView();
        }
        public TicketDataPage(Window window, Page previousPage, SqlConnectionFactory sqlConnectionFactory, Seat seat) : base(window, previousPage, sqlConnectionFactory)
        {
            InitializeComponent();
            Loaded += (sender, args) => SpeechControl.SetParent(this);

            Seat = seat;

            InitializeComboBox();
        }
        public DescriptionPage(Window window, Page previousPage, SqlConnectionFactory sqlConnectionFactory, Movie movie) : base(window, previousPage, sqlConnectionFactory)
        {
            InitializeComponent();
            Loaded += (sender, args) => SpeechControl.SetParent(this);

            Movie = movie;

            InitializeMovieData();
        }
예제 #4
0
        public SummaryPage(Window window, Page previousPage, SqlConnectionFactory sqlConnectionFactory, Seat seat, Price price, string bookerName) : base(window, previousPage, sqlConnectionFactory)
        {
            InitializeComponent();
            Loaded += (sender, args) => SpeechControl.SetParent(this);

            Seat       = seat;
            Price      = price;
            BookerName = bookerName;

            ShowOrderData();
        }
        public ConfirmationPage(Window window, SqlConnectionFactory sqlConnectionFactory, Seat seat, Price price, string bookerName) : base(window, sqlConnectionFactory)
        {
            InitializeComponent();
            Loaded += (sender, args) => SpeechControl.SetParent(this);

            Seat       = seat;
            Price      = price;
            BookerName = bookerName;
            TicketId   = GetTicketId();

            ShowTicketInfo();
        }
예제 #6
0
 public OrderPage(Window window, Page previousPage, SqlConnectionFactory sqlConnectionFactory) : base(window, previousPage, sqlConnectionFactory)
 {
     InitializeComponent();
     Loaded += (sender, args) => SpeechControl.SetParent(this);
     ListMovies();
 }
예제 #7
0
 public MainPage(Window window, SqlConnectionFactory sqlConnectionFactory) : base(window, sqlConnectionFactory)
 {
     InitializeComponent();
     Loaded += (sender, args) => SpeechControl.SetParent(this);
 }