fire-eggs / FamilyLines

A free, open-source genealogy application to track, organize, and share your family history.
12 stars 1 forks source link

Cleanup code - 'HTML' #65

Open fire-eggs opened 7 years ago

fire-eggs commented 7 years ago

notonyournelly[CodePlex]
The code in Html.xaml.cs has a number of problems and needs to be cleaned up.

Rename the option controls to human-readable (i.e. not 'option1', 'option2', etc). Replace the use of magic number strings (quot0quot,quot1quot, etc) for quotOptionsquot with a human-readable enum. Replace the use of decimal with int. Exceptions from Process.Start are swallowed: should we have a better response? Refactor the Export() method to eliminate deep nesting.