summaryrefslogtreecommitdiff
path: root/kurier/Form1.cs
diff options
context:
space:
mode:
Diffstat (limited to 'kurier/Form1.cs')
-rw-r--r--kurier/Form1.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/kurier/Form1.cs b/kurier/Form1.cs
index 5da317b..eb6ab88 100644
--- a/kurier/Form1.cs
+++ b/kurier/Form1.cs
@@ -24,5 +24,16 @@ namespace kurier
{
this.tBucketID.Enabled = this.cSend.Checked;
}
+
+ private void Form1_Load(object sender, EventArgs e)
+ {
+ if (!MySQL.getConfigured()) (new MysqlSettings()).ShowDialog();
+ if (!MySQL.getConfigured()) this.Dispose();
+ }
+
+ private void bSettings_Click(object sender, EventArgs e)
+ {
+ (new MysqlSettings()).ShowDialog();
+ }
}
}