예제 #1
0
파일: Main.cs 프로젝트: Boomtime/glimmer
        void StartCurrentSequence()
        {
            mCurrentProgram = mSequenceList[mFunc];
            LogAppend("StartCurrentSequence(): ", FontStyle.Bold, mFunc.ToString());

            mEngine.LoadSequence(mCurrentProgram);
            // rebuild control panel
            ctlSequenceControlsPanel.SuspendLayout();
            ctlSequenceControlsPanel.Controls.Clear();
            foreach (var ctlv in mCurrentProgram.Controls)
            {
                ctlSequenceControlsPanel.Controls.Add(ctlv.Value.MakeUIControl(ctlv.Key));
            }
            ctlSequenceControlsPanel.ResumeLayout();
        }