public bool LoadFile(string xmlfile) { XmlIniFile obj = (XmlIniFile)XmlBeanTools.GetBeanFromXmlFile(typeof(XmlIniFile), xmlfile); if (obj != null) { this.Sections = obj.Sections; return(true); } else { return(false); } }
public void SaveFile(string xmlfile) { XmlBeanTools.SaveBeanToXmlFile(this, xmlfile); }