private void ProcessLoadSettings(string parameters) { string value = CollectParts(parameters); if (String.IsNullOrEmpty(value)) { return; } _result = DossierDB.LoadSettings(value); if (string.IsNullOrEmpty(_result)) { _result = ""; } }
private void ProcessSaveSettings(string parameters) { string value = CollectParts(parameters); if (String.IsNullOrEmpty(value)) { return; } string[] settings = value.Split(new char[] { ';' }, 2); if (settings.Length == 2) { DossierDB.SaveSettings(settings[0], settings[1]); } }