Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
 public void SaveFile(string xmlfile)
 {
     XmlBeanTools.SaveBeanToXmlFile(this, xmlfile);
 }