public void Load() { string path = Path.Combine(Core.BaseDirectory, "reportHistory.xml"); if (!File.Exists(path)) return; PersistanceReader pr = new XmlPersistanceReader(path, "Stats"); pr.ReadDocument(this); pr.Close(); }
public void Load() { string path = Path.Combine(Core.BaseDirectory, "reportHistory.xml"); if (!File.Exists(path)) { return; } PersistanceReader pr = new XmlPersistanceReader(path, "Stats"); pr.ReadDocument(this); pr.Close(); }