Esempio n. 1
0
        private void updateAndSaveList()
        {
            var phrases = new List <Phrase>();

            foreach (var item in listBoxPhrases.Items)
            {
                var t = unformatText(item as String);
                phrases.Add(new Phrase(unformatText(item as String), isFavorite(item as String)));
            }

            _phrases.PhraseList = phrases;

            _phrases.Save();
        }