예제 #1
0
        /// <summary>
        /// Attempts to read both the Categories and Replays store
        /// </summary>
        public bool Read()
        {
            try
            {
                cats = new CategoryStore();
                cats.ReadXml(CategoriesFilename);

                recs = new ReplayStore();
                recs.ReadXml(ReplaysFilename);
                return(true);
            }
            catch
            {
            }
            return(false);
        }
예제 #2
0
 public void ReadCategories()
 {
     cats = new CategoryStore();
     cats.ReadXml(CategoriesFilename);
 }