private void t8banddone_Click(object sender, EventArgs e) { Lights lights = new Lights(); lights.t8spotsoff(); lights.t8roomoff(); t8banddone.BackgroundImage = ((System.Drawing.Image)(SwitcherPanelCSharp.Properties.Resources.buttonred)); }
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)); }