Exemple #1
0
        /// <summary>
        ///     Add suggested words for misspelled words to the combo box.
        /// </summary>
        /// <created>art2m,5/12/2019</created>
        /// <changed>art2m,5/12/2019</changed>
        private void AddSuggestions()
        {
            var swc = new SuggestedWordsCollection();

            this.cboWord.Items.Clear();

            for (var index = 0; index < swc.ItemsCount(); index++)
            {
                this.cboWord.Items.Add(swc.GetItemAt(index));
            }

            swc.ClearCollection();
            this.cboWord.DroppedDown = true;
        }