public void Set(ReportSettings.Bools item, bool val)
        {
            switch (item)
            {
            case ReportSettings.Bools.IncludeSourceInfo:
                MyIncludeSourceInfo = val;
                break;

            case ReportSettings.Bools.IncludeSelectedPlates:
                MyIncludeSelectedPlates = val;
                break;

            case ReportSettings.Bools.IncludeSelectedGroups:
                MyIncludeSelectedGroups = val;
                break;

            case ReportSettings.Bools.IncludeSelectedDetailedFilter:
                MyIncludeDetailedFilter = val;
                break;

            case ReportSettings.Bools.IncludeExperimentStat:
                MyIncludeExperimentStatistics = val;
                break;

            case ReportSettings.Bools.IncludeAnnotations:
                MyIncludeMarkerAnnotations = val;
                break;

            case ReportSettings.Bools.IncludeItemStat:
                MyIncludeItemStatistics = val;
                break;

            case ReportSettings.Bools.IncludeControlItemStat:
                MyIncludeControlItemStatistics = val;
                break;

            case ReportSettings.Bools.IncludeResults:
                MyIncludeResults = val;
                break;

            case ReportSettings.Bools.SplitFile:
                MySplitFile = val;
                break;

            default:
                throw new Exception("Attempting to set unknown report setting.");
            }
        }
        public bool Get(ReportSettings.Bools item)
        {
            switch (item)
            {
            case ReportSettings.Bools.IncludeSourceInfo:
                return(MyIncludeSourceInfo);

            case ReportSettings.Bools.IncludeSelectedPlates:
                return(MyIncludeSelectedPlates);

            case ReportSettings.Bools.IncludeSelectedGroups:
                return(MyIncludeSelectedGroups);

            case ReportSettings.Bools.IncludeSelectedDetailedFilter:
                return(MyIncludeDetailedFilter);

            case ReportSettings.Bools.IncludeExperimentStat:
                return(MyIncludeExperimentStatistics);

            case ReportSettings.Bools.IncludeAnnotations:
                return(MyIncludeMarkerAnnotations);

            case ReportSettings.Bools.IncludeItemStat:
                return(MyIncludeItemStatistics);

            case ReportSettings.Bools.IncludeControlItemStat:
                return(MyIncludeControlItemStatistics);

            case ReportSettings.Bools.IncludeResults:
                return(MyIncludeResults);

            case ReportSettings.Bools.SplitFile:
                return(MySplitFile);

            default:
                throw new Exception("Attempting to get unknown report setting.");
            }
        }