public  static Dictionary<int,StoreItem> getStoreItem()
        {
            StoreItem stoItem;
            Dictionary<int, StoreItem> Dict = new Dictionary<int, StoreItem>();
            XmlDocument xml = new XmlDocument();
            xml.Load(configPath);
            XmlNodeList rootList = xml.SelectNodes("g");
            foreach (XmlNode xn in rootList)
            {
                stoItem = new StoreItem();
                stoItem.ID = int.Parse(xn.ChildNodes[0].InnerText);
                stoItem.ItemName = xn.ChildNodes[2].InnerText;
                stoItem.ItemType = xn.ChildNodes[1].InnerText;
                stoItem.ItemPrice = int.Parse(xn.ChildNodes[3].InnerText);
                stoItem.ItemTimes = int.Parse(xn.ChildNodes[4].InnerText);
                stoItem.ItemEffect = xn.ChildNodes[5].InnerText;
                if (xn.ChildNodes[6].InnerText.Trim() == "1")
                    stoItem.IsSale = true;
                else
                    stoItem.IsSale = false;
                Dict.Add(stoItem.ID, stoItem);
            }
            return Dict;
        }