diff --git a/WpfApp/App.config b/WpfApp/App.config
index d84e702..3543ca2 100644
--- a/WpfApp/App.config
+++ b/WpfApp/App.config
@@ -31,5 +31,6 @@
+
\ No newline at end of file
diff --git a/WpfApp/App.xaml.cs b/WpfApp/App.xaml.cs
index 6a44644..bafe536 100644
--- a/WpfApp/App.xaml.cs
+++ b/WpfApp/App.xaml.cs
@@ -1,8 +1,10 @@
using System;
using System.Configuration;
+using System.IO;
using System.Windows;
using NLog;
using WpfApp.Framework;
+using WpfApp.Settings;
namespace WpfApp
{
@@ -56,5 +58,11 @@ private static Uri GetFontsXamlUri()
Console.WriteLine(xaml);
return new Uri(xaml, UriKind.Relative);
}
+ public static void EnsureAllDirectories()
+ {
+ if (Directory.Exists(AppFilePaths.PersonImages)) return;
+ Directory.CreateDirectory(AppFilePaths.PersonImages);
+ Logger.Trace("Directories was created");
+ }
}
}
diff --git a/WpfApp/Dictionaries/Converters.xaml b/WpfApp/Dictionaries/Converters.xaml
index c60fa80..149b160 100644
--- a/WpfApp/Dictionaries/Converters.xaml
+++ b/WpfApp/Dictionaries/Converters.xaml
@@ -1,16 +1,18 @@
+ xmlns:converter="clr-namespace:WpfApp.View.Converter"
+ xmlns:settings="clr-namespace:WpfApp.Settings">
+
-
-
+
+
diff --git a/WpfApp/Dictionaries/Styles.xaml b/WpfApp/Dictionaries/Styles.xaml
index 307ab79..88eeaf5 100644
--- a/WpfApp/Dictionaries/Styles.xaml
+++ b/WpfApp/Dictionaries/Styles.xaml
@@ -73,6 +73,8 @@