summaryrefslogtreecommitdiff
path: root/ZooBOTanica
diff options
context:
space:
mode:
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)
{