Esempio n. 1
0
        void ShowStatistics()
        {
            int AllPercent = 0;

            foreach (string el in FileWords)
            {
                AllPercent += TextFileRedactor.GetPercentOfLine(el);
            }

            ProgBarOfWord.Value  = TextFileRedactor.GetPercentOfNF(FileWords, labelWord.Content.ToString());
            ProgBarOfWords.Value = (int)Math.Round(((float)AllPercent) / FileWords.Count);
        }