private void CheckLanguageSettings() { var BLL = new SettingsBLL(); var settings = BLL.GetLanguage(); if (settings != null) { ApplicationLanguages.PrimaryLanguageOverride = settings; } }