From 9d60d3a09558e2130ff1ee5ebb4980b2a11c2258 Mon Sep 17 00:00:00 2001 From: adam majerik Date: Thu, 2 Sep 2021 21:35:16 +0200 Subject: [PATCH] fixed not showing folders bug --- GbxMapBrowser/FolderInfo.cs | 3 +- GbxMapBrowser/MainWindow.xaml | 2 +- GbxMapBrowser/MainWindow.xaml.cs | 8 +++- GbxMapBrowser/MapInfoController.cs | 61 ++++++++++++++++-------------- 4 files changed, 43 insertions(+), 31 deletions(-) diff --git a/GbxMapBrowser/FolderInfo.cs b/GbxMapBrowser/FolderInfo.cs index c7d12b1..8400cbe 100644 --- a/GbxMapBrowser/FolderInfo.cs +++ b/GbxMapBrowser/FolderInfo.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Linq; using System.IO; +using System.Diagnostics; namespace GbxMapBrowser { @@ -31,8 +32,8 @@ public FolderInfo(string fullnamepath) FolderName = fullnamepath.Split('\\').LastOrDefault(); FolderFullPath = fullnamepath; DirectoryInfo directoryInfo = new DirectoryInfo(fullnamepath); + Debug.WriteLine("hello world"); DateModified = directoryInfo.LastWriteTime; } - } } diff --git a/GbxMapBrowser/MainWindow.xaml b/GbxMapBrowser/MainWindow.xaml index da3be63..d5bddfb 100644 --- a/GbxMapBrowser/MainWindow.xaml +++ b/GbxMapBrowser/MainWindow.xaml @@ -31,7 +31,7 @@