public void Load(string path) { Initialize(); if (File.Exists(path) && Path.GetExtension(path) == Ext) { Xdoc.Load(path); } Xroot = Xdoc.SelectSingleNode("/" + EStruct); RootStruct = (GffRootStruct)CreateComponent(Xroot); }
public void Load(string path) { Initialize(); if (File.Exists(path) && Path.GetExtension(path) == Ext) { Xdoc.Load(path); } Xroot = Xdoc.SelectSingleNode("/" + EStruct); RootStruct = (GffRootStruct)CreateComponent(Xroot); }