コード例 #1
0
        private void SaveSettingsClicked(object sender, RoutedEventArgs e)
        {
            UserSettingsManager <XMLToJSONUserSettings> settingsManager = new UserSettingsManager <XMLToJSONUserSettings>(SettingsFileName);
            XMLToJSONUserSettings settings = new XMLToJSONUserSettings()
            {
                FilePath = FilePath.Text,
                Endpoint = Endpoint.Text
            };

            settingsManager.SaveSettings(settings);
        }
コード例 #2
0
 public static void SaveSettings()
 {
     manager.SaveSettings();
 }