public void Load(XmlNode node) { bool hasChildNodes = node.HasChildNodes; if (hasChildNodes) { for (XmlNode imageNode = node.FirstChild; imageNode != null; imageNode = imageNode.NextSibling) { bool flag = imageNode.Name == "Image"; if (flag) { RdImage gtrImage = new RdImage(this.m_document); gtrImage.Load(imageNode); this.m_list.Add(gtrImage.Name, gtrImage); this.Document.Changed(); } } } }