Created a new form to allow the user to check the database for internal errors. Needs more testing so this build will have the option not visible. Modified the login form to display database tools.
This commit is contained in:
@@ -89,5 +89,17 @@ namespace AdvertsingProfitControl
|
||||
informationLabel.Text = @"Failed to connect to a database.";
|
||||
}
|
||||
}
|
||||
|
||||
private void backupRestoreToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var form = new DatabaseRecovery();
|
||||
form.ShowDialog();
|
||||
}
|
||||
|
||||
private void checkIntegrityToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var form = new FrmIntegrityCheck();
|
||||
form.ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user