Forgot to update the behavior of the Integerity form, repair button is now disabled if no errors are found. The menu item for the Integrety form is now on the login and main menu forms. Security is not a huge concern at the moment.

This commit is contained in:
2018-02-10 21:51:48 -06:00
parent 36bbd29917
commit 65dd82cd31
5 changed files with 273 additions and 230 deletions
@@ -162,10 +162,12 @@ namespace AdvertsingProfitControl
if (damagedTablesListView.Items.Count == 0)
{
dbCcResultLabel.Text = @"No errors in the database have been detected.";
repairButton.Enabled = false;
}
else
{
dbCcResultLabel.Text = @"One or more errors have been found, refer to the 'Damaged Tables' section for details.";
repairButton.Enabled = true;
}
}
catch (SqlException e)