summaryrefslogtreecommitdiff
path: root/kurier/Form1.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-10-12 20:43:25 +0200
committeremkael <emkael@tlen.pl>2018-10-12 20:43:25 +0200
commit0550305e3f1f2558588b6b87a8c1b4004437ad3b (patch)
tree7e3ceec0e7b805fdd937535672ce16beffef9b31 /kurier/Form1.cs
parent8465d82288402eacf28cba9cff5c29e798005408 (diff)
MySQL settings
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();
+ }
}
}