LauncherArma3.languageChoice.animation_DoWork C# (CSharp) Méthode

animation_DoWork() private méthode

private animation_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e DoWorkEventArgs
Résultat void
        private void animation_DoWork(object sender, DoWorkEventArgs e)
        {
            if (status == 0)
                System.Threading.Thread.Sleep(500);
            switch (language)
            {
                case "FR":
                    animationFrench();
                    break;
                case "EN":
                    animationEnglish();
                    break;
                case "DE":
                    animationDeutch();
                    break;
                case "SP":
                    animationSpain();
                    break;
                case "AR":
                    animationArab();
                    break;
                case "JP":
                    animationJapan();
                    break;
            }
            System.Threading.Thread.Sleep(500);
            if (status > 2)
                status = 0;
            else
                status++;
        }