public override string UpdateSettings()
        {
            var obj = new CalendarParameterSettings
            {
                Default            = txtDefault.Text,
                DatabaseDateFormat = txtDatabaseDateFormat.Text
            };

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

            if (settings != null)
            {
                obj =
                    (CalendarParameterSettings)
                    (Serialization.DeserializeObject(settings, typeof(CalendarParameterSettings)));
            }
            txtDefault.Text            = obj.Default;
            txtDatabaseDateFormat.Text = obj.DatabaseDateFormat;
        }