public void Load() { string path = Path.Combine( Core.BaseDirectory, "Logs/reportHistory.xml" ); if ( !File.Exists( path ) ) return; PersistenceReader pr = new XmlPersistenceReader( path, "Stats" ); pr.ReadDocument( this ); pr.Close(); }
public void Load() { string path = Path.Combine(Core.BaseDirectory, "staffHistory.xml"); if (!File.Exists(path)) { return; } PersistenceReader pr = new XmlPersistenceReader(path, "Staff"); pr.ReadDocument(this); pr.Close(); }