示例#1
0
 private void DisconnectFromArgusTV()
 {
     if (_tvSchedulerAgent != null)
     {
         _tvSchedulerAgent.Dispose();
     }
 }
示例#2
0
 protected override void OnPageDestroy(int new_windowId)
 {
     if (_tvSchedulerAgent != null)
     {
         _tvSchedulerAgent.Dispose();
     }
     if (_tvControlAgent != null)
     {
         _tvControlAgent.Dispose();
     }
     base.OnPageDestroy(new_windowId);
 }
示例#3
0
        protected override void OnPageDestroy(int new_windowId)
        {
            SaveChannelsForCurrentGroup();

            if (_tvSchedulerAgent != null)
            {
                _tvSchedulerAgent.Dispose();
            }
            if (_tvGuideAgent != null)
            {
                _tvGuideAgent.Dispose();
            }
            if (_tvControlAgent != null)
            {
                _tvControlAgent.Dispose();
            }
            base.OnPageDestroy(new_windowId);
        }
示例#4
0
 protected override void OnPageDestroy(int newWindowId)
 {
     SaveSettings();
     if (_tvSchedulerAgent != null)
     {
         _tvSchedulerAgent.Dispose();
     }
     if (_tvGuideAgent != null)
     {
         _tvGuideAgent.Dispose();
     }
     if (_tvControlAgent != null)
     {
         _tvControlAgent.Dispose();
     }
     if (newWindowId != WindowId.ProgramInfo)
     {
         OnClearRules(false);
         _selectedTitle      = string.Empty;
         _selectedTitleIndex = 0;
     }
     base.OnPageDestroy(newWindowId);
 }
示例#5
0
        protected override void OnPageDestroy(int newWindowId)
        {
            if (_isInSubDirectory)
            {
                m_iSelectedItemInFolder = GetSelectedItemNo();
            }
            else
            {
                m_iSelectedItem = GetSelectedItemNo();
            }

            SaveSettings();
            if (_tvSchedulerAgent != null)
            {
                _tvSchedulerAgent.Dispose();
            }
            if (_tvGuideAgent != null)
            {
                _tvGuideAgent.Dispose();
            }
            if (_tvControlAgent != null)
            {
                _tvControlAgent.Dispose();
            }
            if (_configurationAgent != null)
            {
                _configurationAgent.Dispose();
            }

            if (newWindowId != WindowId.ProgramInfo &&
                newWindowId != WindowId.ManualShedule)
            {
                _selectedSchedule = null;
            }
            base.OnPageDestroy(newWindowId);
        }