Ejemplo n.º 1
0
		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();
		}
Ejemplo n.º 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();
        }