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();
		}
Exemple #2
0
        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();
        }