diff --git a/app/Properties/Resources.resx b/app/Properties/Resources.resx index af7dbeb..5046638 100644 --- a/app/Properties/Resources.resx +++ b/app/Properties/Resources.resx @@ -46,7 +46,7 @@ mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with - : System.Serialization.Formatters.Binary.BinaryFormatter + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 @@ -60,6 +60,7 @@ : and then encoded with base64 encoding. --> + @@ -68,9 +69,10 @@ - + + @@ -85,9 +87,10 @@ - + + @@ -109,9 +112,13 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Resources\translate.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/app/Properties/Settings.Designer.cs b/app/Properties/Settings.Designer.cs deleted file mode 100644 index 83151b4..0000000 --- a/app/Properties/Settings.Designer.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace ParsecVDisplay.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.11.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default { - get { - return defaultInstance; - } - } - } -} diff --git a/app/Properties/Settings.settings b/app/Properties/Settings.settings deleted file mode 100644 index 033d7a5..0000000 --- a/app/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/app/Resources/translate.png b/app/Resources/translate.png new file mode 100644 index 0000000..0b28798 Binary files /dev/null and b/app/Resources/translate.png differ diff --git a/app/Tray.cs b/app/Tray.cs index 4687985..e47413f 100644 --- a/app/Tray.cs +++ b/app/Tray.cs @@ -51,6 +51,7 @@ namespace ParsecVDisplay var appName = $"{Program.AppName} v{Program.AppVersion}"; var appIcon = Icon.ExtractAssociatedIcon(Application.ExecutablePath); + var translateIcon = (Image)Properties.Resources.ResourceManager.GetObject("translate_icon"); TrayIcon = new NotifyIcon() { @@ -81,7 +82,7 @@ namespace ParsecVDisplay null, OptionsCheck) { CheckOnClick = true, Checked = Config.KeepScreenOn }), } }, - (MI_Language = new ToolStripMenuItem("t_language")), + (MI_Language = new ToolStripMenuItem("t_language", translateIcon)), new ToolStripMenuItem("t_check_for_update", null, CheckUpdate), new ToolStripSeparator(), new ToolStripMenuItem("t_exit", null, Exit),