diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 5486613..6d7cb2f 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -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.3.4")] -[assembly: AssemblyFileVersion("1.2.3.4")] +[assembly: AssemblyVersion("1.2.3.5")] +[assembly: AssemblyFileVersion("1.2.3.5")] diff --git a/Resources/lang.Designer.cs b/Resources/lang.Designer.cs index 6f9a0fc..22b8408 100644 --- a/Resources/lang.Designer.cs +++ b/Resources/lang.Designer.cs @@ -420,6 +420,15 @@ namespace SystemTrayMenu.Resources { } } + /// + /// Looks up a localized string similar to Fading. + /// + internal static string Fading { + get { + return ResourceManager.GetString("Fading", resourceCulture); + } + } + /// /// Looks up a localized string similar to Folder. /// diff --git a/Resources/lang.cs-CZ.resx b/Resources/lang.cs-CZ.resx index 5da5ed3..2a0511c 100644 --- a/Resources/lang.cs-CZ.resx +++ b/Resources/lang.cs-CZ.resx @@ -462,4 +462,7 @@ Podpora SystemTrayMenu + + Blednutí + \ No newline at end of file diff --git a/Resources/lang.de-DE.resx b/Resources/lang.de-DE.resx index 012321e..98f8627 100644 --- a/Resources/lang.de-DE.resx +++ b/Resources/lang.de-DE.resx @@ -462,4 +462,7 @@ SystemTrayMenu unterstützen + + Fading + \ No newline at end of file diff --git a/Resources/lang.es-ES.resx b/Resources/lang.es-ES.resx index 1ae92a1..2f2f02e 100644 --- a/Resources/lang.es-ES.resx +++ b/Resources/lang.es-ES.resx @@ -462,4 +462,7 @@ Apoyo SystemTrayMenu + + Desvanecimiento + \ No newline at end of file diff --git a/Resources/lang.fa-IR.resx b/Resources/lang.fa-IR.resx index 1ca092e..7235abb 100644 --- a/Resources/lang.fa-IR.resx +++ b/Resources/lang.fa-IR.resx @@ -462,4 +462,7 @@ SystemTrayMenu پشتیبانی از + + محو شدن + \ No newline at end of file diff --git a/Resources/lang.fr-FR.resx b/Resources/lang.fr-FR.resx index 76dc576..8ebe872 100644 --- a/Resources/lang.fr-FR.resx +++ b/Resources/lang.fr-FR.resx @@ -462,4 +462,7 @@ Assistance SystemTrayMenu + + Décoloration + \ No newline at end of file diff --git a/Resources/lang.it-IT.resx b/Resources/lang.it-IT.resx index dd53047..a072748 100644 --- a/Resources/lang.it-IT.resx +++ b/Resources/lang.it-IT.resx @@ -462,4 +462,7 @@ Supporto SystemTrayMenu + + Dissolvenza + \ No newline at end of file diff --git a/Resources/lang.ja-JP.resx b/Resources/lang.ja-JP.resx index b7d2fe7..faed0a0 100644 --- a/Resources/lang.ja-JP.resx +++ b/Resources/lang.ja-JP.resx @@ -462,4 +462,7 @@ サポート SystemTrayMenu + + フェージング + \ No newline at end of file diff --git a/Resources/lang.ko-KR.resx b/Resources/lang.ko-KR.resx index e5f9a12..9637dea 100644 --- a/Resources/lang.ko-KR.resx +++ b/Resources/lang.ko-KR.resx @@ -462,4 +462,7 @@ 지원 SystemTrayMenu + + 페이딩 + \ No newline at end of file diff --git a/Resources/lang.nl-NL.resx b/Resources/lang.nl-NL.resx index 0b417da..e941557 100644 --- a/Resources/lang.nl-NL.resx +++ b/Resources/lang.nl-NL.resx @@ -462,4 +462,7 @@ Ondersteuning SystemTrayMenu + + Vervagen + \ No newline at end of file diff --git a/Resources/lang.pt-BR.resx b/Resources/lang.pt-BR.resx index 34767e5..028e9db 100644 --- a/Resources/lang.pt-BR.resx +++ b/Resources/lang.pt-BR.resx @@ -462,4 +462,7 @@ Suporte SystemTrayMenu + + Desbotando + \ No newline at end of file diff --git a/Resources/lang.resx b/Resources/lang.resx index 0c5b2c2..0e28b8b 100644 --- a/Resources/lang.resx +++ b/Resources/lang.resx @@ -462,4 +462,7 @@ Support SystemTrayMenu + + Fading + \ No newline at end of file diff --git a/Resources/lang.ru-RU.resx b/Resources/lang.ru-RU.resx index d53d779..4cdc6e8 100644 --- a/Resources/lang.ru-RU.resx +++ b/Resources/lang.ru-RU.resx @@ -462,4 +462,7 @@ Поддержка SystemTrayMenu + + исчезновение + \ No newline at end of file diff --git a/Resources/lang.tr-TR.resx b/Resources/lang.tr-TR.resx index 86fb404..a2bfb09 100644 --- a/Resources/lang.tr-TR.resx +++ b/Resources/lang.tr-TR.resx @@ -462,4 +462,7 @@ Destek SystemTrayMenu + + Solma + \ No newline at end of file diff --git a/Resources/lang.vi-VN.resx b/Resources/lang.vi-VN.resx index fcfabc4..b438817 100644 --- a/Resources/lang.vi-VN.resx +++ b/Resources/lang.vi-VN.resx @@ -462,4 +462,7 @@ Hỗ trợ SystemTrayMenu + + Mờ dần + \ No newline at end of file diff --git a/Resources/lang.zh-CN.resx b/Resources/lang.zh-CN.resx index 521e038..7d0d542 100644 --- a/Resources/lang.zh-CN.resx +++ b/Resources/lang.zh-CN.resx @@ -462,4 +462,7 @@ 支持 SystemTrayMenu + + 衰退 + \ No newline at end of file diff --git a/SystemTrayMenu.sln b/SystemTrayMenu.sln index 2d73900..e4695a9 100644 --- a/SystemTrayMenu.sln +++ b/SystemTrayMenu.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29709.97 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SystemTrayMenu", "SystemTrayMenu.csproj", "{F317AF2E-9704-4A2A-BDAE-B4662ED9483B}" EndProject diff --git a/UserInterface/SettingsForm.Designer.cs b/UserInterface/SettingsForm.Designer.cs index 81d4252..1d0eda0 100644 --- a/UserInterface/SettingsForm.Designer.cs +++ b/UserInterface/SettingsForm.Designer.cs @@ -78,6 +78,9 @@ namespace SystemTrayMenu.UserInterface this.radioButtonAppearAtMouseLocation = new System.Windows.Forms.RadioButton(); this.groupBoxSize = new System.Windows.Forms.GroupBox(); this.tableLayoutPanelSize = new System.Windows.Forms.TableLayoutPanel(); + this.tableLayoutPanelIconSizeInPercent = new System.Windows.Forms.TableLayoutPanel(); + this.numericUpDownIconSizeInPercent = new System.Windows.Forms.NumericUpDown(); + this.labelIconSizeInPercent = new System.Windows.Forms.Label(); this.tableLayoutPanelRowHeighteInPercentage = new System.Windows.Forms.TableLayoutPanel(); this.numericUpDownRowHeighteInPercentage = new System.Windows.Forms.NumericUpDown(); this.labelRowHeightInPercentage = new System.Windows.Forms.Label(); @@ -307,9 +310,8 @@ namespace SystemTrayMenu.UserInterface this.buttonOk = new System.Windows.Forms.Button(); this.buttonCancel = new System.Windows.Forms.Button(); this.colorDialog = new System.Windows.Forms.ColorDialog(); - this.tableLayoutPanelIconSizeInPercent = new System.Windows.Forms.TableLayoutPanel(); - this.numericUpDownIconSizeInPercent = new System.Windows.Forms.NumericUpDown(); - this.labelIconSizeInPercent = new System.Windows.Forms.Label(); + this.checkBoxUseFading = new System.Windows.Forms.CheckBox(); + this.buttonAppearanceDefault = new System.Windows.Forms.Button(); this.tableLayoutPanelMain.SuspendLayout(); this.tabControl.SuspendLayout(); this.tabPageGeneral.SuspendLayout(); @@ -336,6 +338,8 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelMenuAppearAt.SuspendLayout(); this.groupBoxSize.SuspendLayout(); this.tableLayoutPanelSize.SuspendLayout(); + this.tableLayoutPanelIconSizeInPercent.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownIconSizeInPercent)).BeginInit(); this.tableLayoutPanelRowHeighteInPercentage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownRowHeighteInPercentage)).BeginInit(); this.tableLayoutPanelSizeInPercent.SuspendLayout(); @@ -453,8 +457,6 @@ namespace SystemTrayMenu.UserInterface this.groupBoxAppearance.SuspendLayout(); this.tableLayoutPanelAppearance.SuspendLayout(); this.tableLayoutPanelBottom.SuspendLayout(); - this.tableLayoutPanelIconSizeInPercent.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDownIconSizeInPercent)).BeginInit(); this.SuspendLayout(); // // tableLayoutPanelMain @@ -1162,6 +1164,42 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelSize.Size = new System.Drawing.Size(394, 145); this.tableLayoutPanelSize.TabIndex = 0; // + // tableLayoutPanelIconSizeInPercent + // + this.tableLayoutPanelIconSizeInPercent.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.tableLayoutPanelIconSizeInPercent.AutoSize = true; + this.tableLayoutPanelIconSizeInPercent.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanelIconSizeInPercent.ColumnCount = 2; + this.tableLayoutPanelIconSizeInPercent.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelIconSizeInPercent.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelIconSizeInPercent.Controls.Add(this.numericUpDownIconSizeInPercent, 0, 0); + this.tableLayoutPanelIconSizeInPercent.Controls.Add(this.labelIconSizeInPercent, 1, 0); + this.tableLayoutPanelIconSizeInPercent.Location = new System.Drawing.Point(0, 29); + this.tableLayoutPanelIconSizeInPercent.Margin = new System.Windows.Forms.Padding(0); + this.tableLayoutPanelIconSizeInPercent.Name = "tableLayoutPanelIconSizeInPercent"; + this.tableLayoutPanelIconSizeInPercent.RowCount = 1; + this.tableLayoutPanelIconSizeInPercent.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelIconSizeInPercent.Size = new System.Drawing.Size(394, 29); + this.tableLayoutPanelIconSizeInPercent.TabIndex = 1; + // + // numericUpDownIconSizeInPercent + // + this.numericUpDownIconSizeInPercent.Location = new System.Drawing.Point(3, 3); + this.numericUpDownIconSizeInPercent.Name = "numericUpDownIconSizeInPercent"; + this.numericUpDownIconSizeInPercent.Size = new System.Drawing.Size(55, 23); + this.numericUpDownIconSizeInPercent.TabIndex = 1; + // + // labelIconSizeInPercent + // + this.labelIconSizeInPercent.Anchor = System.Windows.Forms.AnchorStyles.Left; + this.labelIconSizeInPercent.AutoSize = true; + this.labelIconSizeInPercent.Location = new System.Drawing.Point(64, 7); + this.labelIconSizeInPercent.MaximumSize = new System.Drawing.Size(330, 0); + this.labelIconSizeInPercent.Name = "labelIconSizeInPercent"; + this.labelIconSizeInPercent.Size = new System.Drawing.Size(125, 15); + this.labelIconSizeInPercent.TabIndex = 0; + this.labelIconSizeInPercent.Text = "labelIconSizeInPercent"; + // // tableLayoutPanelRowHeighteInPercentage // this.tableLayoutPanelRowHeighteInPercentage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); @@ -1232,7 +1270,7 @@ namespace SystemTrayMenu.UserInterface this.labelSizeInPercent.Location = new System.Drawing.Point(64, 7); this.labelSizeInPercent.MaximumSize = new System.Drawing.Size(330, 0); this.labelSizeInPercent.Name = "labelSizeInPercent"; - this.labelSizeInPercent.Size = new System.Drawing.Size(121, 15); + this.labelSizeInPercent.Size = new System.Drawing.Size(102, 15); this.labelSizeInPercent.TabIndex = 0; this.labelSizeInPercent.Text = "labelSizeInPercent"; // @@ -2090,7 +2128,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelCustomize.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelCustomize.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelCustomize.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelCustomize.Size = new System.Drawing.Size(391, 1300); + this.tableLayoutPanelCustomize.Size = new System.Drawing.Size(391, 1356); this.tableLayoutPanelCustomize.TabIndex = 0; // // groupBoxColorsDarkMode @@ -2098,7 +2136,7 @@ namespace SystemTrayMenu.UserInterface this.groupBoxColorsDarkMode.AutoSize = true; this.groupBoxColorsDarkMode.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxColorsDarkMode.Controls.Add(this.tableLayoutPanelDarkMode); - this.groupBoxColorsDarkMode.Location = new System.Drawing.Point(3, 692); + this.groupBoxColorsDarkMode.Location = new System.Drawing.Point(3, 748); this.groupBoxColorsDarkMode.MaximumSize = new System.Drawing.Size(385, 0); this.groupBoxColorsDarkMode.MinimumSize = new System.Drawing.Size(385, 0); this.groupBoxColorsDarkMode.Name = "groupBoxColorsDarkMode"; @@ -3171,7 +3209,7 @@ namespace SystemTrayMenu.UserInterface this.groupBoxColorsLightMode.AutoSize = true; this.groupBoxColorsLightMode.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxColorsLightMode.Controls.Add(this.tableLayoutPanelColorsAndDefault); - this.groupBoxColorsLightMode.Location = new System.Drawing.Point(3, 81); + this.groupBoxColorsLightMode.Location = new System.Drawing.Point(3, 137); this.groupBoxColorsLightMode.MaximumSize = new System.Drawing.Size(385, 0); this.groupBoxColorsLightMode.MinimumSize = new System.Drawing.Size(385, 0); this.groupBoxColorsLightMode.Name = "groupBoxColorsLightMode"; @@ -4251,7 +4289,7 @@ namespace SystemTrayMenu.UserInterface this.groupBoxAppearance.MaximumSize = new System.Drawing.Size(385, 0); this.groupBoxAppearance.MinimumSize = new System.Drawing.Size(385, 0); this.groupBoxAppearance.Name = "groupBoxAppearance"; - this.groupBoxAppearance.Size = new System.Drawing.Size(385, 72); + this.groupBoxAppearance.Size = new System.Drawing.Size(385, 128); this.groupBoxAppearance.TabIndex = 1; this.groupBoxAppearance.TabStop = false; this.groupBoxAppearance.Text = "groupBoxAppearance"; @@ -4262,15 +4300,19 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelAppearance.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.tableLayoutPanelAppearance.ColumnCount = 1; this.tableLayoutPanelAppearance.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanelAppearance.Controls.Add(this.buttonAppearanceDefault, 0, 3); + this.tableLayoutPanelAppearance.Controls.Add(this.checkBoxUseFading, 0, 1); + this.tableLayoutPanelAppearance.Controls.Add(this.checkBoxDarkModeAlwaysOn, 0, 2); this.tableLayoutPanelAppearance.Controls.Add(this.checkBoxRoundCorners, 0, 0); - this.tableLayoutPanelAppearance.Controls.Add(this.checkBoxDarkModeAlwaysOn, 0, 1); this.tableLayoutPanelAppearance.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanelAppearance.Location = new System.Drawing.Point(3, 19); this.tableLayoutPanelAppearance.Name = "tableLayoutPanelAppearance"; - this.tableLayoutPanelAppearance.RowCount = 2; + this.tableLayoutPanelAppearance.RowCount = 4; this.tableLayoutPanelAppearance.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelAppearance.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelAppearance.Size = new System.Drawing.Size(379, 50); + this.tableLayoutPanelAppearance.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelAppearance.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelAppearance.Size = new System.Drawing.Size(379, 106); this.tableLayoutPanelAppearance.TabIndex = 1; // // checkBoxRoundCorners @@ -4288,7 +4330,7 @@ namespace SystemTrayMenu.UserInterface // this.checkBoxDarkModeAlwaysOn.AutoSize = true; this.checkBoxDarkModeAlwaysOn.Dock = System.Windows.Forms.DockStyle.Fill; - this.checkBoxDarkModeAlwaysOn.Location = new System.Drawing.Point(3, 28); + this.checkBoxDarkModeAlwaysOn.Location = new System.Drawing.Point(3, 53); this.checkBoxDarkModeAlwaysOn.Name = "checkBoxDarkModeAlwaysOn"; this.checkBoxDarkModeAlwaysOn.Size = new System.Drawing.Size(373, 19); this.checkBoxDarkModeAlwaysOn.TabIndex = 0; @@ -4344,41 +4386,29 @@ namespace SystemTrayMenu.UserInterface this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click); // - // tableLayoutPanel6 + // checkBoxUseFading // - this.tableLayoutPanelIconSizeInPercent.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - this.tableLayoutPanelIconSizeInPercent.AutoSize = true; - this.tableLayoutPanelIconSizeInPercent.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.tableLayoutPanelIconSizeInPercent.ColumnCount = 2; - this.tableLayoutPanelIconSizeInPercent.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanelIconSizeInPercent.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanelIconSizeInPercent.Controls.Add(this.numericUpDownIconSizeInPercent, 0, 0); - this.tableLayoutPanelIconSizeInPercent.Controls.Add(this.labelIconSizeInPercent, 1, 0); - this.tableLayoutPanelIconSizeInPercent.Location = new System.Drawing.Point(0, 29); - this.tableLayoutPanelIconSizeInPercent.Margin = new System.Windows.Forms.Padding(0); - this.tableLayoutPanelIconSizeInPercent.Name = "tableLayoutPanel6"; - this.tableLayoutPanelIconSizeInPercent.RowCount = 1; - this.tableLayoutPanelIconSizeInPercent.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelIconSizeInPercent.Size = new System.Drawing.Size(394, 29); - this.tableLayoutPanelIconSizeInPercent.TabIndex = 1; + this.checkBoxUseFading.AutoSize = true; + this.checkBoxUseFading.Dock = System.Windows.Forms.DockStyle.Fill; + this.checkBoxUseFading.Location = new System.Drawing.Point(3, 28); + this.checkBoxUseFading.Name = "checkBoxUseFading"; + this.checkBoxUseFading.Size = new System.Drawing.Size(373, 19); + this.checkBoxUseFading.TabIndex = 5; + this.checkBoxUseFading.Text = "checkBoxUseFading"; + this.checkBoxUseFading.UseVisualStyleBackColor = true; // - // numericUpDownIconSizeInPercent + // buttonAppearanceDefault // - this.numericUpDownIconSizeInPercent.Location = new System.Drawing.Point(3, 3); - this.numericUpDownIconSizeInPercent.Name = "numericUpDownIconSizeInPercent"; - this.numericUpDownIconSizeInPercent.Size = new System.Drawing.Size(55, 23); - this.numericUpDownIconSizeInPercent.TabIndex = 1; - // - // labelIconSizeInPercent - // - this.labelIconSizeInPercent.Anchor = System.Windows.Forms.AnchorStyles.Left; - this.labelIconSizeInPercent.AutoSize = true; - this.labelIconSizeInPercent.Location = new System.Drawing.Point(64, 7); - this.labelIconSizeInPercent.MaximumSize = new System.Drawing.Size(330, 0); - this.labelIconSizeInPercent.Name = "labelIconSizeInPercent"; - this.labelIconSizeInPercent.Size = new System.Drawing.Size(144, 15); - this.labelIconSizeInPercent.TabIndex = 0; - this.labelIconSizeInPercent.Text = "labelIconSizeInPercent"; + this.buttonAppearanceDefault.AutoSize = true; + this.buttonAppearanceDefault.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.buttonAppearanceDefault.Location = new System.Drawing.Point(3, 78); + this.buttonAppearanceDefault.MinimumSize = new System.Drawing.Size(75, 23); + this.buttonAppearanceDefault.Name = "buttonAppearanceDefault"; + this.buttonAppearanceDefault.Size = new System.Drawing.Size(154, 25); + this.buttonAppearanceDefault.TabIndex = 3; + this.buttonAppearanceDefault.Text = "buttonAppearanceDefault"; + this.buttonAppearanceDefault.UseVisualStyleBackColor = true; + this.buttonAppearanceDefault.Click += new System.EventHandler(this.ButtonAppearanceDefault_Click); // // SettingsForm // @@ -4445,6 +4475,9 @@ namespace SystemTrayMenu.UserInterface this.groupBoxSize.PerformLayout(); this.tableLayoutPanelSize.ResumeLayout(false); this.tableLayoutPanelSize.PerformLayout(); + this.tableLayoutPanelIconSizeInPercent.ResumeLayout(false); + this.tableLayoutPanelIconSizeInPercent.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownIconSizeInPercent)).EndInit(); this.tableLayoutPanelRowHeighteInPercentage.ResumeLayout(false); this.tableLayoutPanelRowHeighteInPercentage.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownRowHeighteInPercentage)).EndInit(); @@ -4634,9 +4667,6 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelAppearance.PerformLayout(); this.tableLayoutPanelBottom.ResumeLayout(false); this.tableLayoutPanelBottom.PerformLayout(); - this.tableLayoutPanelIconSizeInPercent.ResumeLayout(false); - this.tableLayoutPanelIconSizeInPercent.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDownIconSizeInPercent)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -4926,5 +4956,7 @@ namespace SystemTrayMenu.UserInterface private System.Windows.Forms.TableLayoutPanel tableLayoutPanelIconSizeInPercent; private System.Windows.Forms.NumericUpDown numericUpDownIconSizeInPercent; private System.Windows.Forms.Label labelIconSizeInPercent; + private System.Windows.Forms.CheckBox checkBoxUseFading; + private System.Windows.Forms.Button buttonAppearanceDefault; } } \ No newline at end of file diff --git a/UserInterface/SettingsForm.cs b/UserInterface/SettingsForm.cs index 6eaa41c..52e6f99 100644 --- a/UserInterface/SettingsForm.cs +++ b/UserInterface/SettingsForm.cs @@ -183,7 +183,9 @@ namespace SystemTrayMenu.UserInterface tabPageCustomize.Text = Translator.GetText("Customize"); groupBoxAppearance.Text = Translator.GetText("Appearance"); checkBoxRoundCorners.Text = Translator.GetText("Round corners"); + checkBoxUseFading.Text = Translator.GetText("Fading"); checkBoxDarkModeAlwaysOn.Text = Translator.GetText("Dark Mode always active"); + buttonAppearanceDefault.Text = Translator.GetText("Default"); groupBoxColorsLightMode.Text = Translator.GetText("Colors Light Mode"); groupBoxColorsDarkMode.Text = Translator.GetText("Colors Dark Mode"); labelMenuLightMode.Text = Translator.GetText("Menu"); @@ -443,6 +445,7 @@ namespace SystemTrayMenu.UserInterface numericUpDownClearCacheIfMoreThanThisNumberOfItems.Value = Settings.Default.ClearCacheIfMoreThanThisNumberOfItems; checkBoxRoundCorners.Checked = Settings.Default.RoundCorners; + checkBoxUseFading.Checked = Settings.Default.UseFading; checkBoxDarkModeAlwaysOn.Checked = Settings.Default.IsDarkModeAlwaysOn; textBoxColorSelectedItem.Text = Settings.Default.ColorSelectedItem; @@ -853,6 +856,7 @@ namespace SystemTrayMenu.UserInterface Settings.Default.TimeUntilClosesAfterEnterPressed = (int)numericUpDownTimeUntilClosesAfterEnterPressed.Value; Settings.Default.RoundCorners = checkBoxRoundCorners.Checked; + Settings.Default.UseFading = checkBoxUseFading.Checked; Settings.Default.IsDarkModeAlwaysOn = checkBoxDarkModeAlwaysOn.Checked; if (checkBoxStoreConfigAtAssemblyLocation.Checked) @@ -1220,6 +1224,13 @@ namespace SystemTrayMenu.UserInterface } } + private void ButtonAppearanceDefault_Click(object sender, EventArgs e) + { + checkBoxRoundCorners.Checked = true; + checkBoxUseFading.Checked = true; + checkBoxDarkModeAlwaysOn.Checked = true; + } + private void ButtonDefaultColors_Click(object sender, EventArgs e) { textBoxColorIcons.Text = "#95a0a6";