Ejemplo n.º 1
0
        protected override void OnPageDestroy(int new_windowId)
        {
            StopDownload          = true;
            PreviousSelectedIndex = Facade.SelectedListItemIndex;
            GUICommon.ClearListProperties();

            base.OnPageDestroy(new_windowId);
        }
        private void ClearProperties()
        {
            GUIUtils.SetProperty("#Trakt.Shout.Type", string.Empty);
            GUIUtils.SetProperty("#Trakt.Shout.Date", string.Empty);

            GUIUtils.SetProperty("#Trakt.Shout.Text", string.Empty);
            GUIUtils.SetProperty("#Trakt.Shout.Review", string.Empty);
            GUIUtils.SetProperty("#Trakt.Shout.Spoiler", string.Empty);

            GUICommon.ClearMovieProperties();
            GUICommon.ClearShowProperties();
            GUICommon.ClearSeasonProperties();
            GUICommon.ClearEpisodeProperties();
            GUICommon.ClearListProperties();
            GUICommon.ClearUserProperties();
        }
Ejemplo n.º 3
0
        protected override void OnPageLoad()
        {
            base.OnPageLoad();

            // Clear GUI Properties
            GUICommon.ClearListProperties();

            // Requires Login
            if (!GUICommon.CheckLogin())
            {
                return;
            }

            // Init Properties
            InitProperties();

            // Load Lists basis type
            LoadLists();
        }