public override string UpdateSettings() { var obj = new CheckBoxParameterSettings(); obj.DefaultChecked = chkDefault.Checked; return(Serialization.SerializeObject(obj, typeof(CheckBoxParameterSettings))); }
public override void LoadSettings(string settings) { var obj = new CheckBoxParameterSettings(); if (settings != null) { obj = (CheckBoxParameterSettings)(Serialization.DeserializeObject(settings, typeof(CheckBoxParameterSettings))); } chkDefault.Checked = obj.DefaultChecked; }