From 70a83542393af13280e4f47a2a31a599b56bf646 Mon Sep 17 00:00:00 2001
From: Anton Kudryashov <qubabox@mail.ru>
Date: Fri, 16 Sep 2016 00:07:36 +0300
Subject: [PATCH] file path issue troubleshooting

---
 MES_Wind/frmMain.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MES_Wind/frmMain.cs b/MES_Wind/frmMain.cs
index 4d60309..baeeff4 100644
--- a/MES_Wind/frmMain.cs
+++ b/MES_Wind/frmMain.cs
@@ -83,7 +83,7 @@ namespace MES_Wind
         {
             string curDir = Environment.CurrentDirectory;
             string pathToTests = "\\MES_test_new\\";
-            string file_path = curDir + pathToTests;
+            string file_path = System.IO.Path.GetDirectoryName(System.IO.Path.GetDirectoryName(curDir)) + pathToTests;
 
             map1.AddLayer(file_path+"u_test.asc");
             map1.AddLayer(file_path + "v_test.asc");
-- 
GitLab