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

            obj.EnableHighAccuracy = chkEnableHighAccuracy.Checked;
            obj.Timeout            = StringHelpers.DefaultInt32FromString(txtTimeout.Text, 5000);
            obj.MaximumAge         = StringHelpers.DefaultInt32FromString(txtMaximumAge.Text, 60000);
            return(Serialization.SerializeObject(obj, typeof(GeoLocationParameterSettings)));
        }
        public override void LoadSettings(string settings)
        {
            var obj = new GeoLocationParameterSettings();

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

            chkEnableHighAccuracy.Checked = obj.EnableHighAccuracy;
            txtTimeout.Text    = obj.Timeout.ToString();
            txtMaximumAge.Text = obj.MaximumAge.ToString();
        }