summaryrefslogtreecommitdiff
path: root/ZooBOTanica
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-10-01 22:20:36 +0200
committerTrueDoctor <d-kobert@web.de>2018-10-01 22:20:36 +0200
commitb7ef3c860375baea7b5db95940519ce0746b6ecc (patch)
tree270b9f6ec1c58b153037738f6c6b2aa83205d9fc /ZooBOTanica
parenta5a5d368cddd6e8a15298002ccb3b10c90a33980 (diff)
added Command Response Handling
Diffstat (limited to 'ZooBOTanica')
-rw-r--r--ZooBOTanica/CritCreate.cs12
1 files changed, 7 insertions, 5 deletions
diff --git a/ZooBOTanica/CritCreate.cs b/ZooBOTanica/CritCreate.cs
index 08f527d..3d0a6c2 100644
--- a/ZooBOTanica/CritCreate.cs
+++ b/ZooBOTanica/CritCreate.cs
@@ -55,11 +55,13 @@ namespace ZooBOTanica
public void LoadButton_Click(object sender, EventArgs e)
{
- var dig = new OpenFileDialog();
- dig.CheckFileExists = true;
- dig.Multiselect = false;
- dig.Title = "Gespeicherten Gegner laden";
- dig.Filter = "*Json Dateien (*.json)|*.json";
+ var dig = new OpenFileDialog
+ {
+ CheckFileExists = true,
+ Multiselect = false,
+ Title = "Gespeicherten Gegner laden",
+ Filter = "*Json Dateien (*.json)|*.json"
+ };
if (dig.ShowDialog() == DialogResult.OK)
{