예제 #1
0
        private void ProcessLoadSettings(string parameters)
        {
            string value = CollectParts(parameters);

            if (String.IsNullOrEmpty(value))
            {
                return;
            }
            _result = DossierDB.LoadSettings(value);
            if (string.IsNullOrEmpty(_result))
            {
                _result = "";
            }
        }
예제 #2
0
        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]);
            }
        }