CodeTV.MainForm.OnGraphStop C# (CSharp) Method

OnGraphStop() private method

private OnGraphStop ( ) : void
return void
        private void OnGraphStop()
        {
            this.toolStripStatusLabelVideoStatus.Text = Properties.Resources.Ready;
            this.toolStripStatusLabelChannelName.Text = Properties.Resources.NoChannel;

            this.toolStripStatusLabelEPG.Text = "  ";

            this.toolStripProgressBarSignalStrength.Value = 0;
            this.toolStripProgressBarSignalStrength.ToolTipText = "";
            this.toolStripStatusLabelSignalStrength.Text = toolStripProgressBarSignalStrength.ToolTipText;

            this.toolStripProgressBarSignalQuality.Value = 0;
            this.toolStripProgressBarSignalQuality.ToolTipText = "";
            this.toolStripStatusLabelSignalQuality.Text = toolStripProgressBarSignalQuality.ToolTipText;

            this.toolStripButtonSnapshot.Enabled = false;

            this.toolStripButtonPause.Enabled = false;
            this.toolStripButtonPlay.Enabled = false;
            this.toolStripButtonRecord.Enabled = false;
            this.toolStripButtonStop.Enabled = false;
            this.toolStripButtonPlay.Enabled = false;
            this.toolStripButtonPause.Enabled = false;
            this.toolStripButtonStop.Enabled = false;
            this.panelTimeLine.trackBarSpeed.Enabled = false;
            this.panelTimeLine.trackBarExTimeLine.Enabled = false;
            this.panelTimeLine.trackBarExTimeLine.Value = 0;

            //if (this.currentGraphBuilder is IPlayer)
            //{
            //    //this.panelPlayer.buttonPlayerPlay.Enabled = this.panelPlayer.buttonPlayerPause.Enabled = this.panelPlayer.buttonPlayerStop.Enabled = false;
            //    //this.panelPlayer.textBoxPlayer.Text = "";
            //}

            //if (this.currentGraphBuilder is IRecorder)
            //{
            //    this.toolStripButtonTimeRecorderRecord.Enabled = false;
            //}

            //if (this.currentGraphBuilder is ITimeShifting)
            //{
            //    //this.toolStripButtonTimeShifting.Enabled = false;
            //    this.toolStripButtonTimeShiftingPause.Enabled = false;
            //    this.toolStripButtonTimeShiftingRewind.Enabled = false;
            //    this.toolStripButtonTimeShiftingFastForward.Enabled = false;
            //    this.toolStripButtonTimeRecorderRecord.Enabled = false;
            //}

            //if (this.currentGraphBuilder is IEPG)
            //{
            //    (this.currentGraphBuilder as IEPG).EPG.GuideDataEvent -= new EPG.GuideDataEventHandler(epg_GuideDataEvent);
            //}
        }
MainForm