public static Gradebook Read()
 {
     var rv = new Gradebook();
     try
     {
         rv.ReadXml("gradebook.xml");
         rv.AcceptChanges();
     }
     catch (System.Exception)
     {
         return null;
     }
     return rv;
 }
Example #2
0
        public static Gradebook Read()
        {
            var rv = new Gradebook();

            try
            {
                rv.ReadXml("gradebook.xml");
                rv.AcceptChanges();
            }
            catch (System.Exception)
            {
                return(null);
            }
            return(rv);
        }