Jenga DB Connection
try
{
var db = Kt.Db;
Application.Run(new FrmMain());
}
catch (Exception err)
{
if (MessageBox.Show(err.Message + ". Click Retry to configure.", Application.ProductName, MessageBoxButtons.RetryCancel) == DialogResult.Retry)
{
Kimtoo.DbManager.Connections.Show();
goto db;
}
else
{
Application.Exit();
}
}
KimToo