public void reset() { base.Clear(); /********************************* * READ XML FILE *********************************/ if (this._xmlFile.Exists) { FileStream fStream = null; try { fStream = new FileStream(this._xmlFile.FullName, FileMode.Open, FileAccess.Read); XMLReader xmlRdr = new XMLReader(fStream); xmlRdr.Refresh(); // this.readXMLItems(xmlRdr, this); // xmlRdr.Clear(); xmlRdr = null; } catch (Exception ex) { throw ex; } finally { if (fStream != null) { fStream.Close(); fStream = null; } } } /********************************* * ACCUMULATE WITH DEFAULTS *********************************/ if (this._defaultSettings != null) { this.accumulateWithDefaultSettings(this, (Values)this._defaultSettings); } }