private void btnGenerateReport_Click()

in traceabilitytool/mainform.cs [31:48]


        private void btnGenerateReport_Click(object sender, EventArgs e)
        {
            if (!Directory.Exists(txtRootPath.Text))
            {
                lblRootPath.Text = "Invalid path";
            }
            else if (!Directory.Exists(txtOutputPath.Text))
            {
                lblOutputPath.Text = "Invalid path";
            }
            else
            {
                lblRootPath.Text = "";
                lblOutputPath.Text = "";
                btnGenerateReport.Enabled = false;
                backgroundWorker.RunWorkerAsync();
            }
        }