diff options
author | emkael <emkael@tlen.pl> | 2018-10-12 20:43:25 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-10-12 20:43:25 +0200 |
commit | 0550305e3f1f2558588b6b87a8c1b4004437ad3b (patch) | |
tree | 7e3ceec0e7b805fdd937535672ce16beffef9b31 /kurier/Form1.cs | |
parent | 8465d82288402eacf28cba9cff5c29e798005408 (diff) |
MySQL settings
Diffstat (limited to 'kurier/Form1.cs')
-rw-r--r-- | kurier/Form1.cs | 11 |
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(); + } } } |