Beispiel #1
0
        // Load LanguageHeader in a List
        private void FillList()
        {
            var countLanguages = LanguageTotal.GetLanguagesCount();

            for (int i = 0; i < countLanguages; i++)
            {
                headerLanguage.Add(LogOnLanguage.SelectLanguageHeader(i));
            }
        }
Beispiel #2
0
        // Timer to change LanguageHeader in intervall
        private void TimerEventProcessor(object sender, EventArgs e)
        {
            if (headerCounter == LanguageTotal.GetLanguagesCount())
            {
                headerCounter = 0;
            }

            // Go through the List to change HeaderLanguage
            SelectLanguageHeader = headerLanguage[headerCounter];

            headerCounter += 1;
        }