Esempio n. 1
0
 private void btn_LastSong_Click(object sender, EventArgs e)
 {
     reactivatebuttons();
     Lights lights = new Lights();
     btn_LastSong.Enabled = false;
     m_AUX1.SetInputSource(1);
     m_AUX2.SetInputSource(4);
     m_AUX3.SetInputSource(4);
     m_mixEffectBlock1.SetInt(_BMDSwitcherMixEffectBlockPropertyId.bmdSwitcherMixEffectBlockPropertyIdPreviewInput, 4);
     me1_key1.SetOnAir(0);
     m_mixEffectBlock1.PerformAutoTransition();
     lights.t8roomon();
     lights.t8spotson();
     me1_key2.SetInputFill(6);
 }
Esempio n. 2
0
        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(1);
            m_AUX2.SetInputSource(16);
            m_AUX3.SetInputSource(16);
            m_mixEffectBlock1.SetInt(_BMDSwitcherMixEffectBlockPropertyId.bmdSwitcherMixEffectBlockPropertyIdPreviewInput, 5);
            me1_key1.SetOnAir(1);
            m_mixEffectBlock1.PerformAutoTransition();
            lights.t8roomon();
            lights.t8spotson();
            lights.t9roomoff();
            lights.t9spotsoff();
            lights.t10roomoff();
            lights.t10spotsoff();
            t8banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttongreen));
            t9banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttonred));
            t10banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttonred));
        }
Esempio n. 3
0
 private void btn_rollin_Click(object sender, EventArgs e)
 {
     reactivatebuttons();
     Lights lights = new Lights();
     btn_rollin.Enabled = false;
     m_AUX1.SetInputSource(16);
     m_AUX2.SetInputSource(16);
     m_AUX3.SetInputSource(16);
     m_mixEffectBlock1.SetInt(_BMDSwitcherMixEffectBlockPropertyId.bmdSwitcherMixEffectBlockPropertyIdPreviewInput, 4);
     me1_key1.SetOnAir(0);
     m_transition.SetNextTransitionSelection(_BMDSwitcherTransitionSelection.bmdSwitcherTransitionSelectionBackground);
     m_mixEffectBlock1.PerformAutoTransition();
     lights.alllightsoff();
     t8banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttonred));
     t9banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttonred));
     t10banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttonred));
 }
Esempio n. 4
0
 private void btn_worship_Click(object sender, EventArgs e)
 {
     reactivatebuttons();
     Lights lights = new Lights();
     btn_worship.Enabled = false;
     m_AUX1.SetInputSource(1);
     m_AUX2.SetInputSource(2);
     m_AUX3.SetInputSource(3);
     m_mixEffectBlock1.SetInt(_BMDSwitcherMixEffectBlockPropertyId.bmdSwitcherMixEffectBlockPropertyIdPreviewInput, 5);
     me1_key1.SetOnAir(1);
     m_mixEffectBlock1.PerformAutoTransition();
     lights.alllightson();
     t8banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttongreen));
     t9banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttongreen));
     t10banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttongreen));
 }
Esempio n. 5
0
 private void t10banddone_Click(object sender, EventArgs e)
 {
     t10banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttonred));
     Lights lights = new Lights();
     lights.t10spotsoff();
     lights.t10roomoff();
 }
Esempio n. 6
0
        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));
            }
        }