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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user