CodeTV.MainForm.newGraph_PossibleChanged C# (CSharp) Method

newGraph_PossibleChanged() private method

private newGraph_PossibleChanged ( object sender, GraphBuilderBase e ) : void
sender object
e GraphBuilderBase
return void
        void newGraph_PossibleChanged(object sender, GraphBuilderBase.PossibleEventArgs e)
        {
            switch (e.possible)
            {
                case "IsPossibleGraphRun":
                    break;
                case "IsPossibleGraphPause":
                    break;
                case "IsPossibleGraphStop":
                    break;
                case "IsPossibleGraphRestart":
                    break;
                case "IsPossibleGraphRelease":
                    break;
                case "IsPossibleTimeShiftingPause":
                    this.toolStripButtonPause.Enabled = e.isPossible;
                    break;
                case "IsPossibleTimeShiftingResume":
                    this.toolStripButtonPlay.Enabled = e.isPossible;
                    break;
                case "IsPossibleRecorderStart":
                    this.toolStripButtonRecord.Enabled = e.isPossible;
                    break;
                case "IsPossibleRecorderStop":
                    this.toolStripButtonStop.Enabled = e.isPossible;
                    break;
                case "IsPossiblePlayerPlay":
                    this.toolStripButtonPlay.Enabled = e.isPossible;
                    break;
                case "IsPossiblePlayerPause":
                    this.toolStripButtonPause.Enabled = e.isPossible;
                    break;
                case "IsPossiblePlayerStop":
                    this.toolStripButtonStop.Enabled = e.isPossible;
                    break;
                case "IsPossibleSetSpeed":
                    this.panelTimeLine.trackBarSpeed.Enabled = e.isPossible;
                    break;
                case "IsPossibleSetPosition":
                    this.panelTimeLine.trackBarExTimeLine.Enabled = e.isPossible;
                    break;
            }
        }
MainForm