private void SetSpellLanguage(SpellLanguage language) { if (language == null) { spellChecker.Disable(); return; } spellChecker.Enable(language.ID); }
/* Protected members */ protected void SetSpellLanguage() { if (Base.SpellLanguages.Enabled) { SpellLanguage language = GetSpellActiveLanguage(); if (language != null) { spellChecker.Enable(language.ID); return; } } spellChecker.Disable(); }