Exemplo n.º 1
0
        public static void LoadShipSectionFromXmlForTools(string filename, ref ShipSection ss)
        {
            XmlDocument xmlDocument = new XmlDocument();

            xmlDocument.Load(filename);
            ss.LoadFromXmlNode(xmlDocument["ShipSection"]);
        }
Exemplo n.º 2
0
        public static void LoadShipSectionFromXml(string filename, ref ShipSection ss)
        {
            XmlDocument document = new XmlDocument();

            document.Load(ScriptHost.FileSystem, filename);
            ss.LoadFromXmlNode(document["ShipSection"]);
        }