Exemple #1
0
        public override void OnShow()
        {
            base.OnShow();

            //Check if there is a mic-configuration
            if (!CConfig.IsMicConfig())
            {
                //If not, try to assaign players 1 and 2 automatically to usb-mics
                if (CConfig.AutoAssignMics())
                {
                    //Save config
                    CConfig.SaveConfig();
                }
            }

            _Texts[_TextStatus].Text = CLanguage.Translate("TR_SCREENLOAD_TOTAL") + ": 0 " +
                                       CLanguage.Translate("TR_SCREENLOAD_SONGS") + " (0 " +
                                       CLanguage.Translate("TR_SCREENLOAD_LOADED") + ")";

            _SkipIntro         = false;
            _CurrentIntroVideo = -1;
            _IntroOutPlayed    = false;

            if (CConfig.Config.Video.VideoBackgrounds == EOffOn.TR_CONFIG_ON)
            {
                for (int i = 0; i < _Intros.Length; i++)
                {
                    _Intros[i].Load(_IntroVideo[i]);
                }
                _Texts[_TextProgramName].Visible = false;
            }
        }
Exemple #2
0
        public override void OnShow()
        {
            base.OnShow();

            //Check if there is a mic-configuration
            if (!CConfig.IsMicConfig())
            {
                //If not, try to assaign players 1 and 2 automatically to usb-mics
                if (CConfig.AutoAssignMics())
                {
                    //Save config
                    CConfig.SaveConfig();
                }
            }

            _SongLoaderThread      = new Thread(new ThreadStart(CSongs.LoadSongs));
            _SongLoaderThread.Name = "SongLoader";

            Texts[htTexts(TextStatus)].Text = CLanguage.Translate("TR_SCREENLOAD_TOTAL") + ": 0 " +
                                              CLanguage.Translate("TR_SCREENLOAD_SONGS") + " (0 " +
                                              CLanguage.Translate("TR_SCREENLOAD_LOADED") + ")";

            _SkipIntro           = false;
            _CurrentIntroVideoNr = -1;
            _IntroOutPlayed      = false;

            if (CConfig.VideoBackgrounds == EOffOn.TR_CONFIG_ON)
            {
                for (int i = 0; i < _Intros.Length; i++)
                {
                    _Intros[i].Load(IntroVideo[i]);
                }
            }
        }