示例#1
0
 UserFile LoadUserFile()
 {
     try
     {
         return(UserFile.Load());
     }
     catch (Exception ex)
     {
         Log.Write("LoadUserFile", ex);
         MessageBox.Show(this, "Error loading user files: " + ex.Message, App.Name);
     }
     return(new UserFile());
 }