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()); }
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()); }