Example #1
0
 public winAddScreeningDate(FilmData value)
 {
     edmNeumannMoziContainer = new edmNeumannMoziContainer();
     InitializeComponent();
     GetRoomName();
     this.passedFilm = value;
     tbTitle.Text    = "Vetítés hozzáadása\n" + passedFilm.Title;
 }
Example #2
0
        private void btnFilmCard_Click(object sender, RoutedEventArgs e)
        {
            FilmData ClickedFilm = ((Button)sender).Tag as FilmData;

            // Open ticket reservation screen
            ((winMain)Application.Current.MainWindow).wpCurrentContent.Children.Clear();
            ((winMain)Application.Current.MainWindow).wpCurrentContent.Children.Add(new uctReservation(ClickedFilm));
            ((winMain)Application.Current.MainWindow).svContent.ScrollToTop();
        }
 public uctReservation(FilmData choosenFilm) : this()
 {
     this.currentFilm = choosenFilm;
     GetAllFilmData();
 }