Exemple #1
0
        /// <summary>EPGデータ更新</summary>
        protected override bool ReloadInfoData()
        {
            EpgViewPeriod newPeriod = RestoreState.isDefPeriod == true ? DefPeriod.DefPeriod : RestoreState.period ?? (IsDataDefPeriod ? DefPeriod.DefPeriod : ViewPeriod);

            if (!viewData.ReloadEpgData(newPeriod, !this.IsVisible))
            {
                return(false);
            }
            ViewPeriod = DataPeriod.DeepClone();
            RefreshMoveButtonStatus();

            ReloadReserveInfoFlg = true;
            ReloadProgramViewItem();
            if (ReloadReserveInfoFlg == true)
            {
                ReloadReserveInfoFlg = !ReloadReserveInfoData();
            }
            restoreState = null;

            if (viewData.EpgTabInfo.SearchMode && Settings.Instance.NgAutoEpgLoadNW && Settings.Instance.PrebuildEpg == false &&
                ViewPeriod.End > CommonUtil.EdcbNowEpg && CommonManager.Instance.DB.ReserveList.Values.Any(r => r.IsManual))
            {
                CommonManager.MainWindow.MainProc(MainProcItem.EpgDataSearch);
            }
            return(true);
        }
Exemple #2
0
 /// <summary>EPGデータ更新</summary>
 protected override bool ReloadInfoData()
 {
     if (viewData.ReloadEpgData() == false)
     {
         return(false);
     }
     ReloadReserveInfoFlg = true;
     ReloadProgramViewItem();
     if (ReloadReserveInfoFlg == true)
     {
         ReloadReserveInfoFlg = !ReloadReserveInfoData();
     }
     restoreState = null;
     return(true);
 }