示例#1
0
文件: Theater8.cs 项目: sneat/3.5
        private void btn_lightson_Click(object sender, EventArgs e)
        {
            Lights lights = new Lights();

            if (btn_t8ready.BackColor == Color.Green)
            {
                lights.t8roomon();
                lights.t8spotson();
                t8banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttongreen));
            }

            if (btn_t9ready.BackColor == Color.Green)
            {
                lights.t9roomon();
                lights.t9spotson();
                t9banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttongreen));
            }

            if (btn_t10ready.BackColor == Color.Green)
            {
                lights.t10roomon();
                lights.t10spotson();
                t10banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttongreen));
            }
        }
示例#2
0
文件: Theater9.cs 项目: sneat/3.5
        private void btn_talk_Click(object sender, EventArgs e)
        {

            me1_key2.SetInputFill(4); 
            reactivatebuttons();
            Lights lights = new Lights();
            btn_talk.Enabled = false;
            m_AUX1.SetInputSource(16);
            m_AUX2.SetInputSource(1);
            m_AUX3.SetInputSource(16);
            m_mixEffectBlock1.SetInt(_BMDSwitcherMixEffectBlockPropertyId.bmdSwitcherMixEffectBlockPropertyIdPreviewInput, 6);
            me1_key1.SetOnAir(1);
            m_mixEffectBlock1.PerformAutoTransition();
            lights.t9roomon();
            lights.t9spotson();
            lights.t8roomoff();
            lights.t8spotsoff();
            lights.t10roomoff();
            lights.t10spotsoff();
            t9banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttongreen));
            t8banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttonred));
            t10banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttonred));
        }