public override string UpdateSettings() { var obj = new XmlReportSettings(); obj.XslSrc = txtXslSrc.Text; return(Serialization.SerializeObject(obj, typeof(XmlReportSettings))); }
public override void LoadSettings(string settings) { var obj = new XmlReportSettings(); if (!string.IsNullOrEmpty(settings)) { obj = (XmlReportSettings)(Serialization.DeserializeObject(settings, typeof(XmlReportSettings))); } txtXslSrc.Text = obj.XslSrc; }
public override void LoadRuntimeSettings(ReportInfo Settings) { ReportExtra = (XmlReportSettings)(Serialization.DeserializeObject(Settings.ReportConfig, typeof(XmlReportSettings))); }