Exemplo n.º 1
0
 protected override void OnFileListChanged()
 {
     using (XmlDoc d = _prj.GetVob())
     {
         XmlNode node    = LimnorProject.createVobRootNode(d);
         XmlNode ndFiles = XmlUtil.CreateSingleNewElement(node, XML_SupportFiles);
         ndFiles.RemoveAll();
         for (int i = 0; i < this.Count; i++)
         {
             XmlNode nd = node.OwnerDocument.CreateElement(XmlTags.XML_Item);
             ndFiles.AppendChild(nd);
             nd.InnerText = this[i];
         }
         d.Save();
     }
 }