diff --git a/STranslate/Images/translate2.ico b/STranslate/Images/translate2.ico new file mode 100644 index 0000000..5afe6d4 Binary files /dev/null and b/STranslate/Images/translate2.ico differ diff --git a/STranslate/MainWindow.xaml b/STranslate/MainWindow.xaml index 38ff638..1101b2f 100644 --- a/STranslate/MainWindow.xaml +++ b/STranslate/MainWindow.xaml @@ -19,7 +19,7 @@ WindowStyle="None" Height="450" Width="400" - Icon="/Images/translate.ico"> + Icon="/Images/translate2.ico"> @@ -34,7 +34,21 @@ Click="NotifyIcon_Click" IsBlink="False" Visibility="Visible" - Icon="/Images/translate.ico"/> + Icon="/Images/translate2.ico"> + + + + + + + + + + + /// 查找 System.Byte[] 类型的本地化资源。 + /// + internal static byte[] translate2 { + get { + object obj = ResourceManager.GetObject("translate2", resourceCulture); + return ((byte[])(obj)); + } + } } } diff --git a/STranslate/Properties/Resources.resx b/STranslate/Properties/Resources.resx index 2a42a7b..c220c70 100644 --- a/STranslate/Properties/Resources.resx +++ b/STranslate/Properties/Resources.resx @@ -127,6 +127,9 @@ ..\images\translate.ico;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ..\images\translate2.ico;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + ..\images\translate_x128.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 diff --git a/STranslate/STranslate.csproj b/STranslate/STranslate.csproj index 32cfa36..b8e1ae3 100644 --- a/STranslate/STranslate.csproj +++ b/STranslate/STranslate.csproj @@ -4,7 +4,7 @@ WinExe net5.0-windows true - Images\translate.ico + Images\translate2.ico @@ -12,6 +12,7 @@ + @@ -38,6 +39,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest