public LoadObjectFromFileDefinition ( object customizationObject, string fileName ) : void | ||
customizationObject | object | /// The object to customize. (should be a control or form) /// This is object, because this class may be extended later. /// |
fileName | string | /// The filename of the XML definition file to load. /// |
리턴 | void |
protected void SetupFromXml(string fileName) { SuspendLayout(); xmlLoader = new XmlLoader(); SetupXmlLoader(); if (fileName != null && fileName.Length > 0) { xmlLoader.LoadObjectFromFileDefinition(this, fileName); } ResumeLayout(false); }
protected void SetupFromXml(string fileName) { SuspendLayout(); xmlLoader = new XmlLoader(); SetupXmlLoader(); if (fileName != null && fileName.Length > 0) { xmlLoader.LoadObjectFromFileDefinition(this, fileName); } ResumeLayout(false); }