public GenerateOrCreateTestLogic()
        {
            wordsLogic       = WordsLogic.GetInstance();
            ruWords          = new Dictionary <string, bool>();
            enWords          = new Dictionary <string, bool>();
            countSelectWords = 0;

            LoadDataRu(wordsLogic.GetRuAllWords());
            LoadDataEn(wordsLogic.GetEnAllWords());
        }
        public void LoadDataRu(string searchText)
        {
            ruWordsSearch = new Dictionary <string, bool>();
            List <string> list = wordsLogic.GetRuAllWords();

            foreach (var word in list)
            {
                if (!ruWordsSearch.ContainsKey(word) && word.Contains(searchText))
                {
                    ruWordsSearch.Add(word, ruWords[word]);
                }
            }
        }