コード例 #1
0
 private void SetLanguage(string language)
 {
     UpdateConfig("language", language);
     try
     {
         AppSave.LanguageConfSave(language);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
     Application.Restart();
 }
コード例 #2
0
 private void btnEng_Click(object sender, RoutedEventArgs e)
 {
     Culture = "en-US";
     App.ChangeCulture(new CultureInfo(Culture));
     try
     {
         AppSave.LanguageConfSave(Culture);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
コード例 #3
0
 private void SetLanguage(string language)
 {
     UpdateConfig("language", language);
     AppSave.LanguageConfSave(language);
     Application.Restart();
 }