aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-05-30 19:12:04 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-05-30 19:12:04 +0300
commit9169a318121f8919e9b54cc076f63ef9a65d5b2b (patch)
tree1dd46f263b835225a930255687583e3f2fd1e7f6 /Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs
parentcf5d8ed0f510792196e0153d9f9008cdce02d523 (diff)
downloadTango-9169a318121f8919e9b54cc076f63ef9a65d5b2b.tar.gz
Tango-9169a318121f8919e9b54cc076f63ef9a65d5b2b.zip
Implemented SQLite db on PPC.
Working on PPC.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs
index 3890686dc..cc13e1216 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs
@@ -5,6 +5,7 @@ using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
+using Tango.Core.Helpers;
using Tango.Settings;
namespace Tango.PPC.UI
@@ -18,6 +19,8 @@ namespace Tango.PPC.UI
{
base.OnStartup(e);
+ Environment.CurrentDirectory = PathHelper.GetStartupPath();
+
//var s = SettingsManager.Default.GetOrCreate<Core.CoreSettings>();
//s.SQLServerAddress = "DB\\Tango.mdf";
//s.Save();