in traceabilitytool/mainform.cs [80:94]
private void txtRootPath_TextChanged(object sender, EventArgs e)
{
if (!Directory.Exists(txtRootPath.Text))
{
lblRootPath.Text = "Invalid path";
}
else
{
lblRootPath.Text = "";
}
btnGenerateReport.Enabled = (chkTextOutput.Checked || chkCSVOutput.Checked) &&
Directory.Exists(txtRootPath.Text) &&
Directory.Exists(txtOutputPath.Text);
}