Example #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);
            }
        }
 public WowSetConfig()
 {
     XmlFile = new XmlIniFile(WowSetConfig.BattleXML);
 }