public override string UpdateSettings()
        {
            var obj = new MobiscrollParameterSettings();

            obj.Default = txtDefault.Text;
            obj.Preset  = ddPreset.SelectedValue;
            obj.Theme   = ddTheme.SelectedValue;
            obj.Mode    = ddMode.SelectedValue;

            return(Serialization.SerializeObject(obj, typeof(MobiscrollParameterSettings)));
        }
        public override void LoadSettings(string settings)
        {
            var obj = new MobiscrollParameterSettings();

            if (settings != null)
            {
                obj = (MobiscrollParameterSettings)(Serialization.DeserializeObject(settings, typeof(MobiscrollParameterSettings)));
            }

            txtDefault.Text        = obj.Default;
            ddPreset.SelectedValue = obj.Preset;
            ddTheme.SelectedValue  = obj.Theme;
            ddMode.SelectedValue   = obj.Mode;
        }