private void DisconnectFromArgusTV() { if (_tvSchedulerAgent != null) { _tvSchedulerAgent.Dispose(); } }
protected override void OnPageDestroy(int new_windowId) { if (_tvSchedulerAgent != null) { _tvSchedulerAgent.Dispose(); } if (_tvControlAgent != null) { _tvControlAgent.Dispose(); } base.OnPageDestroy(new_windowId); }
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); }
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); }
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); }