Esempio n. 1
0
        private void threadinitroutine()
        {
            System.Windows.Forms.Cursor.Current = Cursors.AppStarting;
            DateTime InitTime = DateTime.Now;

            BCBlockGameState.Initgamestate(this);
            //start playing the intro music

            String[] introkeys = BCBlockGameState.Soundman.getMultiSounds("INTRO");

            BCBlockGameState.Soundman.PlayMusic(introkeys, cNewSoundManager.MultiMusicPlayMode.MultiMusic_Order);
            Cursor.Current = Cursors.Default;
            mProceed       = true;
            TimeSpan totalinittime = (DateTime.Now - InitTime);

            ShowMessage("Initialization completed in " + totalinittime);
            ShowMessage("Click Image above to continue...");

            //store that total init time in the initialization time log.
            TimeInitLog(totalinittime);


            //cmdCopy.Visible=true;
            cmdCopy.Invoke((MethodInvoker)(() => cmdCopy.Visible = true));
        }