public static void LoadShipSectionFromXmlForTools(string filename, ref ShipSection ss) { XmlDocument xmlDocument = new XmlDocument(); xmlDocument.Load(filename); ss.LoadFromXmlNode(xmlDocument["ShipSection"]); }
public static void LoadShipSectionFromXml(string filename, ref ShipSection ss) { XmlDocument document = new XmlDocument(); document.Load(ScriptHost.FileSystem, filename); ss.LoadFromXmlNode(document["ShipSection"]); }