Changed the requirements of the integrity checking form to need a connection string. The login form willl now attempt to use the connection string setting but failing that it will use the server name in the combo box. The main form will use the app's connection string setting.
This commit is contained in:
@@ -1136,7 +1136,9 @@ namespace AdvertsingProfitControl
|
||||
|
||||
private void testToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var t = new FrmIntegrityCheck();
|
||||
//Considering we're at the main form, it can be a safe bet that this program's connection string
|
||||
//property is set correctly, so simply use that for the Integrity form.
|
||||
var t = new FrmIntegrityCheck(Properties.Settings.Default.ConnectionString);
|
||||
t.ShowDialog();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user