public bool Load(XmlReader reader) { //load the array //reader.ReadStartElement(); // slice module m_name = reader.ReadElementString("Name"); m_description = reader.ReadElementString("Description"); m_help = reader.ReadElementString("Help"); m_enabled = bool.Parse(reader.ReadElementString("Enabled")); while (reader.Read()) { if ((reader.NodeType == XmlNodeType.Element) && (reader.Name == "Parm")) { Parm p = new Parm(); p.Load(reader); m_parms.Parms.Add(p); reader.ReadEndElement(); } } // reader.ReadEndElement(); return(false); }