Inheritance: PersistanceReader
Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        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();
        }