mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-05-15 09:52:37 +12:00
[Feature] Put all language files in sub directory (#314), version 1.2.6.3
This commit is contained in:
parent
21b79ed0d4
commit
ba69fe4df8
|
@ -865,6 +865,14 @@ namespace SystemTrayMenu.Business
|
|||
return myHitTest.RowIndex;
|
||||
}
|
||||
|
||||
private static void InvalidateRowIfIndexInRange(DataGridView dgv, int rowIndex)
|
||||
{
|
||||
if (rowIndex > -1 && rowIndex < dgv.Rows.Count)
|
||||
{
|
||||
dgv.InvalidateRow(rowIndex);
|
||||
}
|
||||
}
|
||||
|
||||
private Menu Create(MenuData menuData, string title = null)
|
||||
{
|
||||
Menu menu = new();
|
||||
|
@ -1191,14 +1199,6 @@ namespace SystemTrayMenu.Business
|
|||
lastMouseDownRowIndex = -1;
|
||||
}
|
||||
|
||||
private void InvalidateRowIfIndexInRange(DataGridView dgv, int rowIndex)
|
||||
{
|
||||
if (rowIndex > -1 && rowIndex < dgv.Rows.Count)
|
||||
{
|
||||
dgv.InvalidateRow(rowIndex);
|
||||
}
|
||||
}
|
||||
|
||||
private void Dgv_SelectionChanged(object sender, EventArgs e)
|
||||
{
|
||||
RefreshSelection((DataGridView)sender);
|
||||
|
|
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
|||
// 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.2.6.2")]
|
||||
[assembly: AssemblyFileVersion("1.2.6.2")]
|
||||
[assembly: AssemblyVersion("1.2.6.3")]
|
||||
[assembly: AssemblyFileVersion("1.2.6.3")]
|
||||
|
|
|
@ -33,17 +33,17 @@
|
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<NoWarn>1701;1702;WFAC010</NoWarn>
|
||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<OutputPath>bin\AnyCPU\Debug\</OutputPath>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<NoWarn>1701;1702;WFAC010</NoWarn>
|
||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
|
||||
<OutputPath>bin\x86\Debug\</OutputPath>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<NoWarn>1701;1702;WFAC010</NoWarn>
|
||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
<OutputPath>bin\x64\Release\</OutputPath>
|
||||
|
@ -73,37 +73,37 @@
|
|||
<ErrorReport>none</ErrorReport>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<Optimize>True</Optimize>
|
||||
<NoWarn>1701;1702;WFAC010</NoWarn>
|
||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<ErrorReport>none</ErrorReport>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<Optimize>True</Optimize>
|
||||
<NoWarn>1701;1702;WFAC010</NoWarn>
|
||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|x64'">
|
||||
<ErrorReport>none</ErrorReport>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<Optimize>True</Optimize>
|
||||
<NoWarn>1701;1702;WFAC010</NoWarn>
|
||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|AnyCPU'">
|
||||
<ErrorReport>none</ErrorReport>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<Optimize>True</Optimize>
|
||||
<NoWarn>1701;1702;WFAC010</NoWarn>
|
||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
|
||||
<ErrorReport>none</ErrorReport>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<Optimize>True</Optimize>
|
||||
<NoWarn>1701;1702;WFAC010</NoWarn>
|
||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleasePackage|x86'">
|
||||
<ErrorReport>none</ErrorReport>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<Optimize>True</Optimize>
|
||||
<NoWarn>1701;1702;WFAC010</NoWarn>
|
||||
<NoWarn>1701;1702;WFAC010;MSB3061</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Clearcove.Logging, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
|
@ -335,8 +335,7 @@
|
|||
</None>
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>taskkill /fi "pid gt 0" /im SystemTrayMenu.exe
|
||||
taskkill /f /fi "pid gt 0" /im SystemTrayMenu.exe
|
||||
<PreBuildEvent>taskkill /f /fi "pid gt 0" /im SystemTrayMenu.exe >nul
|
||||
EXIT 0</PreBuildEvent>
|
||||
<RepositoryUrl>https://github.com/Hofknecht/SystemTrayMenu</RepositoryUrl>
|
||||
<PackageIcon>icon.png</PackageIcon>
|
||||
|
@ -350,4 +349,7 @@ EXIT 0</PreBuildEvent>
|
|||
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
|
||||
<EnableNETAnalyzers>True</EnableNETAnalyzers>
|
||||
</PropertyGroup>
|
||||
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||
<Exec Command="if not exist "$(ProjectDir)$(OutDir)\Languages" mkdir "$(ProjectDir)$(OutDir)\Languages"

cd $(ProjectDir)$(OutDir)

xcopy /y /i /q "cs-CZ" "Languages\cs-CZ" >nul
rd /s /q "cs-CZ" >nul
xcopy /y /i /q "de-DE" "Languages\de-DE" >nul
rd /s /q "de-DE" >nul
xcopy /y /i /q "es-ES" "Languages\es-ES" >nul
rd /s /q "es-ES" >nul
xcopy /y /i /q "fa-IR" "Languages\fa-IR" >nul
rd /s /q "fa-IR" >nul
xcopy /y /i /q "fr-FR" "Languages\fr-FR" >nul
rd /s /q "fr-FR" >nul
xcopy /y /i /q "it-IT" "Languages\it-IT" >nul
rd /s /q "it-IT" >nul
xcopy /y /i /q "ja-JP" "Languages\ja-JP" >nul
rd /s /q "ja-JP" >nul
xcopy /y /i /q "ko-KR" "Languages\ko-KR" >nul
rd /s /q "ko-KR" >nul
xcopy /y /i /q "nl-NL" "Languages\nl-NL" >nul
rd /s /q "nl-NL" >nul
xcopy /y /i /q "pt-BR" "Languages\pt-BR" >nul
rd /s /q "pt-BR" >nul
xcopy /y /i /q "ru-RU" "Languages\ru-RU" >nul
rd /s /q "ru-RU" >nul
xcopy /y /i /q "tr-TR" "Languages\tr-TR" >nul
rd /s /q "tr-TR" >nul
xcopy /y /i /q "vi-VN" "Languages\vi-VN" >nul
rd /s /q "vi-VN" >nul
xcopy /y /i /q "zh-CN" "Languages\zh-CN" >nul
rd /s /q "zh-CN" >nul
xcopy /y /i /q "ref" "Languages\ref" >nul
rd /s /q "ref" >nul" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -14,6 +14,7 @@ namespace SystemTrayMenu.UserInterface
|
|||
InitializeComponent();
|
||||
Icon = Config.GetAppIcon();
|
||||
MaximumSize = new Size(10, 1);
|
||||
|
||||
// Opacity = 0.01f;
|
||||
// (otherwise: Task View causes Explorer restart when SystemTrayMenu is open #299)
|
||||
SetLocation();
|
||||
|
|
Loading…
Reference in a new issue