private void txtOutputPath_TextChanged()

in traceabilitytool/mainform.cs [96:112]


        private void txtOutputPath_TextChanged(object sender, EventArgs e)
        {
            if (!Directory.Exists(txtOutputPath.Text))
            {
                lblOutputPath.Text = "Invalid path";
                btnShowOutput.Enabled = false;
            }
            else
            {
                lblOutputPath.Text = "";
                btnShowOutput.Enabled = true;
            }

            btnGenerateReport.Enabled = (chkTextOutput.Checked || chkCSVOutput.Checked) &&
                                        Directory.Exists(txtRootPath.Text) &&
                                        Directory.Exists(txtOutputPath.Text);
        }