protected override void doLoadElementChild(XmlNode child) { if (child.NodeType != XmlNodeType.Element) return; String nodeName = child.LocalName; if (nodeName.Equals("DisplayMessage")) { DisplayMessage dm = new DisplayMessage(child); if (dm != null) { this.messages.Add(dm.Message); } } }