/// <summary> /// Ensure that the specified spelling dictionary will give the specified answer regarding the specified word. /// </summary> public static void SetSpellingStatus(string word, bool fCorrect, Dictionary dict) { if (fCorrect) { if (!dict.Check(word)) dict.Add(word); } else { if (dict.Check(word)) dict.Remove(word); } }