From 6038d2ae209fbb3bf771cad33354447db97548df Mon Sep 17 00:00:00 2001 From: Markus Hofknecht Date: Thu, 16 Jul 2020 18:17:53 +0200 Subject: [PATCH] [Feature] Windows Store (#101), version 1.0.10.0 --- Helpers/DgvMouseRow.cs | 1 + Packaging/Package.appxmanifest | 2 +- Properties/AssemblyInfo.cs | 4 ++-- Utilities/Log.cs | 6 ++++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Helpers/DgvMouseRow.cs b/Helpers/DgvMouseRow.cs index 40a335d8..83415390 100644 --- a/Helpers/DgvMouseRow.cs +++ b/Helpers/DgvMouseRow.cs @@ -76,6 +76,7 @@ protected virtual void Dispose(bool disposing) if (disposing) { timerRaiseRowMouseLeave.Dispose(); + dgv?.Dispose(); } } diff --git a/Packaging/Package.appxmanifest b/Packaging/Package.appxmanifest index dbaaa83d..e468112f 100644 --- a/Packaging/Package.appxmanifest +++ b/Packaging/Package.appxmanifest @@ -9,7 +9,7 @@ + Version="1.0.10.0" /> SystemTrayMenu diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 667e9f94..3342b28c 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -39,5 +39,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.9.3")] -[assembly: AssemblyFileVersion("1.0.9.3")] +[assembly: AssemblyVersion("1.0.10.0")] +[assembly: AssemblyFileVersion("1.0.10.0")] diff --git a/Utilities/Log.cs b/Utilities/Log.cs index 3c8852a1..8a92d49b 100644 --- a/Utilities/Log.cs +++ b/Utilities/Log.cs @@ -40,8 +40,10 @@ internal static void Error(string message, Exception ex) internal static string GetLogFilePath() { return Path.Combine( - Path.GetDirectoryName( - Assembly.GetExecutingAssembly().Location), $"log-{Environment.MachineName}.txt"); + Path.Combine( + Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), + $"SystemTrayMenu"), + $"log-{Environment.MachineName}.txt"); } internal static void OpenLogFile()