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 @@ <Identity Name="49543SystemTrayMenu.SystemTrayMenu" Publisher="CN=5884501C-92ED-45DE-9508-9D987C314243" - Version="1.0.9.0" /> + Version="1.0.10.0" /> <Properties> <DisplayName>SystemTrayMenu</DisplayName> 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()