[Feature] Option to turn off menu fading (#310), version 1.2.3.5

This commit is contained in:
Markus Hofknecht 2022-02-04 23:40:07 +01:00
parent 4ad0e3c7a2
commit f683797258
20 changed files with 150 additions and 53 deletions

View file

@ -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")]

View file

@ -420,6 +420,15 @@ namespace SystemTrayMenu.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Fading.
/// </summary>
internal static string Fading {
get {
return ResourceManager.GetString("Fading", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Folder.
/// </summary>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>Podpora SystemTrayMenu</value>
</data>
<data name="Fading" xml:space="preserve">
<value>Blednutí</value>
</data>
</root>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>SystemTrayMenu unterstützen</value>
</data>
<data name="Fading" xml:space="preserve">
<value>Fading</value>
</data>
</root>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>Apoyo SystemTrayMenu</value>
</data>
<data name="Fading" xml:space="preserve">
<value>Desvanecimiento</value>
</data>
</root>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>SystemTrayMenu پشتیبانی از</value>
</data>
<data name="Fading" xml:space="preserve">
<value>محو شدن</value>
</data>
</root>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>Assistance SystemTrayMenu</value>
</data>
<data name="Fading" xml:space="preserve">
<value>Décoloration</value>
</data>
</root>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>Supporto SystemTrayMenu</value>
</data>
<data name="Fading" xml:space="preserve">
<value>Dissolvenza</value>
</data>
</root>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>サポート SystemTrayMenu</value>
</data>
<data name="Fading" xml:space="preserve">
<value>フェージング</value>
</data>
</root>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>지원 SystemTrayMenu</value>
</data>
<data name="Fading" xml:space="preserve">
<value>페이딩</value>
</data>
</root>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>Ondersteuning SystemTrayMenu</value>
</data>
<data name="Fading" xml:space="preserve">
<value>Vervagen</value>
</data>
</root>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>Suporte SystemTrayMenu</value>
</data>
<data name="Fading" xml:space="preserve">
<value>Desbotando</value>
</data>
</root>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>Support SystemTrayMenu</value>
</data>
<data name="Fading" xml:space="preserve">
<value>Fading</value>
</data>
</root>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>Поддержка SystemTrayMenu</value>
</data>
<data name="Fading" xml:space="preserve">
<value>исчезновение</value>
</data>
</root>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>Destek SystemTrayMenu</value>
</data>
<data name="Fading" xml:space="preserve">
<value>Solma</value>
</data>
</root>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>Hỗ trợ SystemTrayMenu</value>
</data>
<data name="Fading" xml:space="preserve">
<value>Mờ dần</value>
</data>
</root>

View file

@ -462,4 +462,7 @@
<data name="Support SystemTrayMenu" xml:space="preserve">
<value>支持 SystemTrayMenu</value>
</data>
<data name="Fading" xml:space="preserve">
<value>衰退</value>
</data>
</root>

View file

@ -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

View file

@ -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;
}
}

View file

@ -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";