private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            //clear legends
            chart1.Legends.Clear();
            //if they want to see all files graphed together
            if (comboBox1.Text == "Show All")
            {
                showAll();
            }
            else
            {
                //show single selected data set in chart1
                chart1.Series.Clear();
                chart1.Series.Add(comboBox1.Text);
                chart1.Series[comboBox1.Text].ChartType   = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
                chart1.Series[comboBox1.Text].BorderWidth = myBorderWidth;
                foreach (DataRow asdf in dataSet1.Tables[comboBox1.Text].Rows)
                {
                    try
                    {
                        COMMS.Output(asdf[0].ToString() + ", " + asdf[1].ToString());
                        if (asdf[0] is string)
                        {
                            if (asdf[0].ToString() == "permeability")
                            {
                                labelPerm.Text = "Permeability: " + asdf[1] + " Darcies";
                            }
                            if (asdf[0].ToString() == "weight")
                            {
                                labelTotalWeight.Text = "Total Weight:  " + asdf[1] + " g";
                            }
                            if (asdf[0].ToString() == "time")
                            {
                                labelTotalTime.Text = "Total Time:    " + asdf[1] + " Secs";
                            }
                            if (asdf[0].ToString() == "flow")
                            {
                                labelFlow.Text = "Total Flow:   " + asdf[1] + " ML/Min";
                            }
                        }
                        double testForNumeric = Convert.ToDouble(asdf[0]);//will not go past this if it's not a number
                        chart1.Series[comboBox1.Text].Points.AddXY(Convert.ToDouble(asdf[0]), Convert.ToDouble(asdf[1]));
                    }
                    catch (Exception)
                    {
                    }
                }
            }
            //add a legend and axis titles.
            chart1.Legends.Add("s");

            chart1.ChartAreas[0].AxisY.TitleFont = new System.Drawing.Font("Arial", 12F);
            chart1.ChartAreas[0].AxisX.TitleFont = new System.Drawing.Font("Arial", 12F);
            chart1.ChartAreas[0].AxisY.Title     = "Weight (Grams)";
            chart1.ChartAreas[0].AxisX.Title     = "Time (Seconds)";
        }