private void ButtonFilter_Click(object sender, EventArgs e)
        {
            String toDisplayFilterResult = "";

            foreach (String s in UUTResultListtoDisplay)
            {
                toDisplayFilterResult += " " + s;
            }
            if (!checkBoxIncremental.Checked)
            {
                filteredReports = reports;
            }

            if (dateFilterEnabled)
            {
                this.filteredReports     = FilterUtil.Filter(filteredReports, UUTResultListtoDisplay, comboBoxFilterField.Text, comboBoxFilterTune.Text, textBoxFilterValue.Text, dateTimePicker1.Value, dateTimePicker2.Value);
                labelFilterCriteria.Text = "CURRENT FILTER: " + "Showing" + toDisplayFilterResult + ((textBoxFilterValue.Text != "") ? " with " + comboBoxFilterField.Text + comboBoxFilterTune.Text + textBoxFilterValue.Text + " " : " ") + " between " + dateTimePicker1.Value + "and " + dateTimePicker2.Value;
            }
            else
            {
                this.filteredReports     = FilterUtil.Filter(filteredReports, UUTResultListtoDisplay, comboBoxFilterField.Text, comboBoxFilterTune.Text, textBoxFilterValue.Text);
                labelFilterCriteria.Text = "CURRENT FILTER: " + "Showing" + toDisplayFilterResult + ((textBoxFilterValue.Text != "") ? " with " + comboBoxFilterField.Text + comboBoxFilterTune.Text + textBoxFilterValue.Text + " " : " ");
            }
            updateGui();
        }
        public static List <ParsedReport> Filter(List <ParsedReport> reports, List <String> UUTResultListtoDisplay, String filterField, String filterTuning, String filteredValue, DateTime start, DateTime end)
        {
            List <ParsedReport> fileteredReports = new List <ParsedReport>();

            foreach (ParsedReport report in reports)
            {
                if ((report.DateTimeStart.CompareTo(start) > 0) && (report.DateTimeStart.CompareTo(end) < 0))
                {
                    fileteredReports.Add(report);
                }
            }

            return(FilterUtil.Filter(fileteredReports, UUTResultListtoDisplay, filterField, filterTuning, filteredValue));
        }