Beispiel #1
0
        private void CheckedLanguageCommandExecute(object e)
        {
            var commandParam = (string)((e as EkushApp.ShellService.Commands.EventToCommandArgs).CommandParameter);

            LocaleManager.SetCurrentLanguage(commandParam);
            RegistryUtility.WriteRegistryKey(Globals.RegistryConstants.KEY_PATH, Globals.RegistryConstants.LOCALE_KEY_NAME, commandParam);
        }