Пример #1
0
 private void SwitchCulture(object param)
 {
     CurrentCulture = param as string;
     EnglishImage   = GetImageSource(English);
     RussianImage   = GetImageSource(Russian);
     LanguageSwitched?.Invoke(this, new EventArgs());
 }
Пример #2
0
        protected override void MenuItemSelected()
        {
            if (LanguageManager.CurrentLanguage == Language)
            {
                return;
            }

            LanguageManager.CurrentLanguage = Language;
            LanguageSwitched?.Invoke();
        }