CodeTV.MainForm.OnGraphInit C# (CSharp) Method

OnGraphInit() private method

private OnGraphInit ( ) : void
return void
        private void OnGraphInit()
        {
            if (this.currentGraphBuilder != null)
            {
                this.panelMediaTuning.trackBarVolume_ValueChanged(null, null);
                this.panelMediaTuning.trackBarBalance_ValueChanged(null, null);
                this.currentGraphBuilder.UseVideo169Mode = Settings.UseVideo169Mode;
                this.currentGraphBuilder.VideoRefresh();
            }

            if (this.currentGraphBuilder is IEPG)
                (this.currentGraphBuilder as IEPG).EPG.GuideDataEvent += new EPG.GuideDataEventHandler(epg_GuideDataEvent);

            if (this.currentGraphBuilder is ITV)
            {
                this.toolStripButtonPreviousChannelInFolder.Enabled = this.toolStripButtonNextChannelInFolder.Enabled = true;
                this.toolStripButtonSnapshot.Enabled = true;
            }

            this.toolStripStatusLabelTimeLinePosition.Text = "";
        }
MainForm