private void InitializeChangeToEnglishCommand()
        {
            var changeUiLanguageCommand = new ChangeUiLanguageCommand(ChangeUiLanguageCommand.UnitedStatesEnglishLcid);

            changeUiLanguageCommand.UiLanguageChanged += this.UiLanguageChanged;
            this.ChangeToEnglishCommand = changeUiLanguageCommand;
        }
        private void InitializeChangeToFrenchCommand()
        {
            var changeUiLanguageCommand = new ChangeUiLanguageCommand(ChangeUiLanguageCommand.SwissFrenchLcid);

            changeUiLanguageCommand.UiLanguageChanged += this.UiLanguageChanged;
            this.ChangeToFrenchCommand = changeUiLanguageCommand;
        }
示例#3
0
 private void InitializeChangeToEnglishCommand()
 {
     var changeUiLanguageCommand = new ChangeUiLanguageCommand(ChangeUiLanguageCommand.UnitedStatesEnglishLcid);
     changeUiLanguageCommand.UiLanguageChanged += this.UiLanguageChanged;
     this.ChangeToEnglishCommand = changeUiLanguageCommand;
 }
示例#4
0
 private void InitializeChangeToGermanCommand()
 {
     var changeUiLanguageCommand = new ChangeUiLanguageCommand(ChangeUiLanguageCommand.SwissGermanLcid);
     changeUiLanguageCommand.UiLanguageChanged += this.UiLanguageChanged;
     this.ChangeToGermanCommand = changeUiLanguageCommand;
 }