// Event for when the user clicks the 'Reset' button in the PublicationListView
        private void ResetFilter_Click(object sender, RoutedEventArgs e)
        {
            int yearFrom = 0;
            int yearTo   = 9999;

            TextYearFrom.Text   = "" + yearFrom;
            TextYearTo.Text     = "" + yearTo;
            VisiblePublications = PublicationController.FilterPublications(yearFrom, yearTo, SelectedResearcher.Publications);
        }
 // Event for when the user clicks the 'Filter' button in the PublicationListView
 private void FilterPublications_Click(object sender, RoutedEventArgs e)
 {
     if (!Int32.TryParse(TextYearFrom.Text, out int yearFrom) || !Int32.TryParse(TextYearTo.Text, out int yearTo))
     {
         MessageBox.Show("An error occured whilst parsing publication filter.\n\nPlease ensure that the entered text is a valid number.", Title, MessageBoxButton.OK, MessageBoxImage.Error);
     }
     else
     {
         VisiblePublications = PublicationController.FilterPublications(yearFrom, yearTo, SelectedResearcher.Publications);
     }
 }