private void LoadFilmDetails()
        {
            this.DataContext = SelectedFilm;

            //if (!String.IsNullOrWhiteSpace(SelectedFilm.YoutubeTrailer))
            //    this.btnPlay.Visibility = System.Windows.Visibility.Visible;
            //else
            //    this.btnPlay.Visibility = System.Windows.Visibility.Collapsed;

            var films = App.FilmCinemas[SelectedFilm.EDI];

            this.lstMain.IsGroupingEnabled = Config.GroupData;
            if (Config.GroupData)
            {
                CinemaData cd         = new CinemaData(films);
                var        dataLetter = cd.GetGroupsByLetter();
                lstMain.ItemsSource = dataLetter.ToList();
            }
            else
            {
                lstMain.ItemsSource = films;
            }

            if (SelectedFilm.FilmCast == null || SelectedFilm.FilmCast.Count == 0)
            {
                this.pMain.Items.Remove(this.piCast);
            }
        }
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            if (bLoaded)
            {
                return;
            }

            if (!Config.ShowCleanBackground)
            {
                this.LayoutRoot.Background = new ImageBrush()
                {
                    ImageSource = new BitmapImage(new Uri("SplashScreenImage.jpg", UriKind.Relative)),
                    Opacity     = 0.2,
                    Stretch     = Stretch.UniformToFill
                };
            }

            LoadPushpins();

            CinemaData cd = new CinemaData(App.Cinemas);

            var dataLetter = cd.GetGroupsByLetter();

            this.lstMain.ItemsSource = dataLetter.ToList();

            bLoaded = true;
        }
        private void LoadFilmDetails()
        {
            this.DataContext = SelectedFilm;

            if (!String.IsNullOrWhiteSpace(SelectedFilm.YoutubeTrailer))
            {
                this.btnPlay.Visibility = System.Windows.Visibility.Visible;
            }
            else
            {
                this.btnPlay.Visibility = System.Windows.Visibility.Collapsed;
            }

            CinemaData cd         = new CinemaData(App.FilmCinemas[SelectedFilm.EDI]);
            var        dataLetter = cd.GetGroupsByLetter();

            lstMain.ItemsSource = dataLetter;
        }