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); }
public static void SaveSettings() { manager.SaveSettings(); }