From 94bc94b626f7593c61087cd4e736cd9897d2785d Mon Sep 17 00:00:00 2001 From: Markus Hofknecht Date: Thu, 6 May 2021 23:31:47 +0200 Subject: [PATCH] [Feature] Settings Customize Colors (#160), version 1.0.17.36 --- Properties/AssemblyInfo.cs | 4 +- UserInterface/SettingsForm.Designer.cs | 422 +++++++++++++------------ 2 files changed, 214 insertions(+), 212 deletions(-) diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index a685289..d22fa20 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.0.17.35")] -[assembly: AssemblyFileVersion("1.0.17.35")] +[assembly: AssemblyVersion("1.0.17.36")] +[assembly: AssemblyFileVersion("1.0.17.36")] diff --git a/UserInterface/SettingsForm.Designer.cs b/UserInterface/SettingsForm.Designer.cs index 2b446d6..89f2806 100644 --- a/UserInterface/SettingsForm.Designer.cs +++ b/UserInterface/SettingsForm.Designer.cs @@ -82,12 +82,8 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelDarkMode = new System.Windows.Forms.TableLayoutPanel(); this.checkBoxDarkModeAlwaysOn = new System.Windows.Forms.CheckBox(); this.groupBoxColors = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanelColorsAndDefault = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanelColors = new System.Windows.Forms.TableLayoutPanel(); - this.labelPasteHtmlColorCodeOrDoubleClickIntoField = new System.Windows.Forms.Label(); - this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); - this.buttonDefaultColors = new System.Windows.Forms.Button(); - this.buttonDefaultColorsDark = new System.Windows.Forms.Button(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.textBoxColorWarning = new System.Windows.Forms.TextBox(); this.labelWarning = new System.Windows.Forms.Label(); this.textBoxColorDarkModeWarning = new System.Windows.Forms.TextBox(); @@ -112,6 +108,10 @@ namespace SystemTrayMenu.UserInterface this.labelOpenFolderBorder = new System.Windows.Forms.Label(); this.labelSelectedItem = new System.Windows.Forms.Label(); this.labelSelectedItemBorder = new System.Windows.Forms.Label(); + this.labelPasteHtmlColorCodeOrDoubleClickIntoField = new System.Windows.Forms.Label(); + this.tableLayoutPanelColorsDefault = new System.Windows.Forms.TableLayoutPanel(); + this.buttonDefaultColors = new System.Windows.Forms.Button(); + this.buttonDefaultColorsDark = new System.Windows.Forms.Button(); this.colorDialog = new System.Windows.Forms.ColorDialog(); this.tableLayoutPanelMain.SuspendLayout(); this.tableLayoutPanelBottom.SuspendLayout(); @@ -147,9 +147,9 @@ namespace SystemTrayMenu.UserInterface this.groupBoxDarkMode.SuspendLayout(); this.tableLayoutPanelDarkMode.SuspendLayout(); this.groupBoxColors.SuspendLayout(); + this.tableLayoutPanelColorsAndDefault.SuspendLayout(); this.tableLayoutPanelColors.SuspendLayout(); - this.tableLayoutPanel2.SuspendLayout(); - this.tableLayoutPanel1.SuspendLayout(); + this.tableLayoutPanelColorsDefault.SuspendLayout(); this.SuspendLayout(); // // tableLayoutPanelMain @@ -165,7 +165,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelMain.RowCount = 2; this.tableLayoutPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelMain.Size = new System.Drawing.Size(476, 467); + this.tableLayoutPanelMain.Size = new System.Drawing.Size(434, 447); this.tableLayoutPanelMain.TabIndex = 0; // // tableLayoutPanelBottom @@ -179,11 +179,11 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelBottom.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanelBottom.Controls.Add(this.buttonOk, 1, 0); this.tableLayoutPanelBottom.Controls.Add(this.buttonCancel, 2, 0); - this.tableLayoutPanelBottom.Location = new System.Drawing.Point(3, 439); + this.tableLayoutPanelBottom.Location = new System.Drawing.Point(3, 419); this.tableLayoutPanelBottom.Name = "tableLayoutPanelBottom"; this.tableLayoutPanelBottom.RowCount = 1; this.tableLayoutPanelBottom.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelBottom.Size = new System.Drawing.Size(470, 25); + this.tableLayoutPanelBottom.Size = new System.Drawing.Size(428, 25); this.tableLayoutPanelBottom.TabIndex = 0; // // buttonOk @@ -191,7 +191,7 @@ namespace SystemTrayMenu.UserInterface this.buttonOk.AutoSize = true; this.buttonOk.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.buttonOk.DialogResult = System.Windows.Forms.DialogResult.OK; - this.buttonOk.Location = new System.Drawing.Point(311, 0); + this.buttonOk.Location = new System.Drawing.Point(267, 0); this.buttonOk.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); this.buttonOk.MinimumSize = new System.Drawing.Size(75, 23); this.buttonOk.Name = "buttonOk"; @@ -206,8 +206,8 @@ namespace SystemTrayMenu.UserInterface this.buttonCancel.AutoSize = true; this.buttonCancel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.buttonCancel.Location = new System.Drawing.Point(392, 0); - this.buttonCancel.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); + this.buttonCancel.Location = new System.Drawing.Point(348, 0); + this.buttonCancel.Margin = new System.Windows.Forms.Padding(3, 0, 5, 0); this.buttonCancel.MinimumSize = new System.Drawing.Size(75, 23); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 25); @@ -221,10 +221,11 @@ namespace SystemTrayMenu.UserInterface this.tabControl.Controls.Add(this.tabPageGeneral); this.tabControl.Controls.Add(this.tabPageAdvanced); this.tabControl.Controls.Add(this.tabPageCustomize); - this.tabControl.Location = new System.Drawing.Point(3, 3); + this.tabControl.Location = new System.Drawing.Point(6, 3); + this.tabControl.Margin = new System.Windows.Forms.Padding(6, 3, 6, 3); this.tabControl.Name = "tabControl"; this.tabControl.SelectedIndex = 2; - this.tabControl.Size = new System.Drawing.Size(470, 430); + this.tabControl.Size = new System.Drawing.Size(422, 410); this.tabControl.TabIndex = 0; // // tabPageGeneral @@ -233,7 +234,7 @@ namespace SystemTrayMenu.UserInterface this.tabPageGeneral.Location = new System.Drawing.Point(4, 24); this.tabPageGeneral.Name = "tabPageGeneral"; this.tabPageGeneral.Padding = new System.Windows.Forms.Padding(3); - this.tabPageGeneral.Size = new System.Drawing.Size(462, 402); + this.tabPageGeneral.Size = new System.Drawing.Size(414, 382); this.tabPageGeneral.TabIndex = 0; this.tabPageGeneral.Text = "tabPageGeneral"; this.tabPageGeneral.UseVisualStyleBackColor = true; @@ -256,7 +257,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelGeneral.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelGeneral.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelGeneral.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelGeneral.Size = new System.Drawing.Size(456, 396); + this.tableLayoutPanelGeneral.Size = new System.Drawing.Size(408, 376); this.tableLayoutPanelGeneral.TabIndex = 0; // // groupBoxFolder @@ -265,11 +266,11 @@ namespace SystemTrayMenu.UserInterface this.groupBoxFolder.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxFolder.Controls.Add(this.tableLayoutPanelFolder); this.groupBoxFolder.Location = new System.Drawing.Point(3, 3); - this.groupBoxFolder.MaximumSize = new System.Drawing.Size(450, 0); - this.groupBoxFolder.MinimumSize = new System.Drawing.Size(450, 0); + this.groupBoxFolder.MaximumSize = new System.Drawing.Size(400, 0); + this.groupBoxFolder.MinimumSize = new System.Drawing.Size(400, 0); this.groupBoxFolder.Name = "groupBoxFolder"; this.groupBoxFolder.Padding = new System.Windows.Forms.Padding(3, 3, 3, 6); - this.groupBoxFolder.Size = new System.Drawing.Size(450, 78); + this.groupBoxFolder.Size = new System.Drawing.Size(400, 78); this.groupBoxFolder.TabIndex = 0; this.groupBoxFolder.TabStop = false; this.groupBoxFolder.Text = "groupBoxFolder"; @@ -288,7 +289,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelFolder.RowCount = 2; this.tableLayoutPanelFolder.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelFolder.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelFolder.Size = new System.Drawing.Size(444, 53); + this.tableLayoutPanelFolder.Size = new System.Drawing.Size(394, 53); this.tableLayoutPanelFolder.TabIndex = 0; // // tableLayoutPanelChangeFolder @@ -340,10 +341,10 @@ namespace SystemTrayMenu.UserInterface this.groupBoxAutostart.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxAutostart.Controls.Add(this.tableLayoutPanelAutostart); this.groupBoxAutostart.Location = new System.Drawing.Point(3, 87); - this.groupBoxAutostart.MaximumSize = new System.Drawing.Size(450, 0); - this.groupBoxAutostart.MinimumSize = new System.Drawing.Size(450, 0); + this.groupBoxAutostart.MaximumSize = new System.Drawing.Size(400, 0); + this.groupBoxAutostart.MinimumSize = new System.Drawing.Size(400, 0); this.groupBoxAutostart.Name = "groupBoxAutostart"; - this.groupBoxAutostart.Size = new System.Drawing.Size(450, 47); + this.groupBoxAutostart.Size = new System.Drawing.Size(400, 47); this.groupBoxAutostart.TabIndex = 0; this.groupBoxAutostart.TabStop = false; this.groupBoxAutostart.Text = "groupBoxAutostart"; @@ -360,7 +361,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelAutostart.Name = "tableLayoutPanelAutostart"; this.tableLayoutPanelAutostart.RowCount = 1; this.tableLayoutPanelAutostart.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanelAutostart.Size = new System.Drawing.Size(444, 25); + this.tableLayoutPanelAutostart.Size = new System.Drawing.Size(394, 25); this.tableLayoutPanelAutostart.TabIndex = 0; // // checkBoxAutostart @@ -369,7 +370,7 @@ namespace SystemTrayMenu.UserInterface this.checkBoxAutostart.Dock = System.Windows.Forms.DockStyle.Fill; this.checkBoxAutostart.Location = new System.Drawing.Point(3, 3); this.checkBoxAutostart.Name = "checkBoxAutostart"; - this.checkBoxAutostart.Size = new System.Drawing.Size(438, 19); + this.checkBoxAutostart.Size = new System.Drawing.Size(388, 19); this.checkBoxAutostart.TabIndex = 0; this.checkBoxAutostart.Text = "checkBoxAutostart"; this.checkBoxAutostart.UseVisualStyleBackColor = true; @@ -380,11 +381,11 @@ namespace SystemTrayMenu.UserInterface this.groupBoxHotkey.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxHotkey.Controls.Add(this.tableLayoutPanelHotkey); this.groupBoxHotkey.Location = new System.Drawing.Point(3, 140); - this.groupBoxHotkey.MaximumSize = new System.Drawing.Size(450, 0); - this.groupBoxHotkey.MinimumSize = new System.Drawing.Size(450, 0); + this.groupBoxHotkey.MaximumSize = new System.Drawing.Size(400, 0); + this.groupBoxHotkey.MinimumSize = new System.Drawing.Size(400, 0); this.groupBoxHotkey.Name = "groupBoxHotkey"; this.groupBoxHotkey.Padding = new System.Windows.Forms.Padding(3, 6, 3, 6); - this.groupBoxHotkey.Size = new System.Drawing.Size(450, 59); + this.groupBoxHotkey.Size = new System.Drawing.Size(400, 59); this.groupBoxHotkey.TabIndex = 0; this.groupBoxHotkey.TabStop = false; this.groupBoxHotkey.Text = "groupBoxHotkey"; @@ -404,7 +405,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelHotkey.Name = "tableLayoutPanelHotkey"; this.tableLayoutPanelHotkey.RowCount = 1; this.tableLayoutPanelHotkey.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelHotkey.Size = new System.Drawing.Size(444, 31); + this.tableLayoutPanelHotkey.Size = new System.Drawing.Size(394, 31); this.tableLayoutPanelHotkey.TabIndex = 0; // // textBoxHotkeyPlaceholder @@ -418,7 +419,7 @@ namespace SystemTrayMenu.UserInterface // this.buttonHotkeyDefault.AutoSize = true; this.buttonHotkeyDefault.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.buttonHotkeyDefault.Location = new System.Drawing.Point(312, 3); + this.buttonHotkeyDefault.Location = new System.Drawing.Point(262, 3); this.buttonHotkeyDefault.MinimumSize = new System.Drawing.Size(75, 23); this.buttonHotkeyDefault.Name = "buttonHotkeyDefault"; this.buttonHotkeyDefault.Size = new System.Drawing.Size(129, 25); @@ -433,11 +434,11 @@ namespace SystemTrayMenu.UserInterface this.groupBoxLanguage.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxLanguage.Controls.Add(this.tableLayoutPanelLanguage); this.groupBoxLanguage.Location = new System.Drawing.Point(3, 205); - this.groupBoxLanguage.MaximumSize = new System.Drawing.Size(450, 0); - this.groupBoxLanguage.MinimumSize = new System.Drawing.Size(450, 0); + this.groupBoxLanguage.MaximumSize = new System.Drawing.Size(400, 0); + this.groupBoxLanguage.MinimumSize = new System.Drawing.Size(400, 0); this.groupBoxLanguage.Name = "groupBoxLanguage"; this.groupBoxLanguage.Padding = new System.Windows.Forms.Padding(3, 6, 3, 6); - this.groupBoxLanguage.Size = new System.Drawing.Size(450, 57); + this.groupBoxLanguage.Size = new System.Drawing.Size(400, 57); this.groupBoxLanguage.TabIndex = 0; this.groupBoxLanguage.TabStop = false; this.groupBoxLanguage.Text = "groupBoxLanguage"; @@ -455,7 +456,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelLanguage.Name = "tableLayoutPanelLanguage"; this.tableLayoutPanelLanguage.RowCount = 1; this.tableLayoutPanelLanguage.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelLanguage.Size = new System.Drawing.Size(444, 29); + this.tableLayoutPanelLanguage.Size = new System.Drawing.Size(394, 29); this.tableLayoutPanelLanguage.TabIndex = 0; // // comboBoxLanguage @@ -473,7 +474,7 @@ namespace SystemTrayMenu.UserInterface this.tabPageAdvanced.Location = new System.Drawing.Point(4, 24); this.tabPageAdvanced.Name = "tabPageAdvanced"; this.tabPageAdvanced.Padding = new System.Windows.Forms.Padding(3); - this.tabPageAdvanced.Size = new System.Drawing.Size(462, 402); + this.tabPageAdvanced.Size = new System.Drawing.Size(414, 382); this.tabPageAdvanced.TabIndex = 0; this.tabPageAdvanced.Text = "tabPageAdvanced"; this.tabPageAdvanced.UseVisualStyleBackColor = true; @@ -489,6 +490,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelAdvanced.Controls.Add(this.groupBoxStaysOpen, 0, 2); this.tableLayoutPanelAdvanced.Controls.Add(this.groupBoxOpenSubmenus, 0, 3); this.tableLayoutPanelAdvanced.Controls.Add(this.buttonAdvancedDefault, 0, 4); + this.tableLayoutPanelAdvanced.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanelAdvanced.Location = new System.Drawing.Point(3, 3); this.tableLayoutPanelAdvanced.Name = "tableLayoutPanelAdvanced"; this.tableLayoutPanelAdvanced.RowCount = 5; @@ -497,7 +499,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelAdvanced.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelAdvanced.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelAdvanced.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelAdvanced.Size = new System.Drawing.Size(456, 351); + this.tableLayoutPanelAdvanced.Size = new System.Drawing.Size(408, 376); this.tableLayoutPanelAdvanced.TabIndex = 0; // // groupBoxClick @@ -506,10 +508,10 @@ namespace SystemTrayMenu.UserInterface this.groupBoxClick.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxClick.Controls.Add(this.tableLayoutPanelClick); this.groupBoxClick.Location = new System.Drawing.Point(3, 3); - this.groupBoxClick.MaximumSize = new System.Drawing.Size(450, 0); - this.groupBoxClick.MinimumSize = new System.Drawing.Size(450, 0); + this.groupBoxClick.MaximumSize = new System.Drawing.Size(400, 0); + this.groupBoxClick.MinimumSize = new System.Drawing.Size(400, 0); this.groupBoxClick.Name = "groupBoxClick"; - this.groupBoxClick.Size = new System.Drawing.Size(450, 47); + this.groupBoxClick.Size = new System.Drawing.Size(400, 47); this.groupBoxClick.TabIndex = 0; this.groupBoxClick.TabStop = false; this.groupBoxClick.Text = "groupBoxClick"; @@ -526,7 +528,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelClick.Name = "tableLayoutPanelClick"; this.tableLayoutPanelClick.RowCount = 1; this.tableLayoutPanelClick.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanelClick.Size = new System.Drawing.Size(444, 25); + this.tableLayoutPanelClick.Size = new System.Drawing.Size(394, 25); this.tableLayoutPanelClick.TabIndex = 0; // // checkBoxOpenItemWithOneClick @@ -535,7 +537,7 @@ namespace SystemTrayMenu.UserInterface this.checkBoxOpenItemWithOneClick.Dock = System.Windows.Forms.DockStyle.Fill; this.checkBoxOpenItemWithOneClick.Location = new System.Drawing.Point(3, 3); this.checkBoxOpenItemWithOneClick.Name = "checkBoxOpenItemWithOneClick"; - this.checkBoxOpenItemWithOneClick.Size = new System.Drawing.Size(438, 19); + this.checkBoxOpenItemWithOneClick.Size = new System.Drawing.Size(388, 19); this.checkBoxOpenItemWithOneClick.TabIndex = 0; this.checkBoxOpenItemWithOneClick.Text = "checkBoxOpenItemWithOneClick"; this.checkBoxOpenItemWithOneClick.UseVisualStyleBackColor = true; @@ -546,11 +548,11 @@ namespace SystemTrayMenu.UserInterface this.groupBoxSizeAndLocation.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxSizeAndLocation.Controls.Add(this.tableLayoutPanelSizeAndLocation); this.groupBoxSizeAndLocation.Location = new System.Drawing.Point(3, 56); - this.groupBoxSizeAndLocation.MaximumSize = new System.Drawing.Size(450, 0); - this.groupBoxSizeAndLocation.MinimumSize = new System.Drawing.Size(450, 0); + this.groupBoxSizeAndLocation.MaximumSize = new System.Drawing.Size(400, 0); + this.groupBoxSizeAndLocation.MinimumSize = new System.Drawing.Size(400, 0); this.groupBoxSizeAndLocation.Name = "groupBoxSizeAndLocation"; this.groupBoxSizeAndLocation.Padding = new System.Windows.Forms.Padding(3, 3, 3, 6); - this.groupBoxSizeAndLocation.Size = new System.Drawing.Size(450, 79); + this.groupBoxSizeAndLocation.Size = new System.Drawing.Size(400, 79); this.groupBoxSizeAndLocation.TabIndex = 0; this.groupBoxSizeAndLocation.TabStop = false; this.groupBoxSizeAndLocation.Text = "groupBoxSizeAndLocation"; @@ -569,7 +571,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelSizeAndLocation.RowCount = 2; this.tableLayoutPanelSizeAndLocation.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelSizeAndLocation.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelSizeAndLocation.Size = new System.Drawing.Size(444, 54); + this.tableLayoutPanelSizeAndLocation.Size = new System.Drawing.Size(394, 54); this.tableLayoutPanelSizeAndLocation.TabIndex = 0; // // checkBoxAppearAtMouseLocation @@ -578,7 +580,7 @@ namespace SystemTrayMenu.UserInterface this.checkBoxAppearAtMouseLocation.Dock = System.Windows.Forms.DockStyle.Fill; this.checkBoxAppearAtMouseLocation.Location = new System.Drawing.Point(3, 3); this.checkBoxAppearAtMouseLocation.Name = "checkBoxAppearAtMouseLocation"; - this.checkBoxAppearAtMouseLocation.Size = new System.Drawing.Size(438, 19); + this.checkBoxAppearAtMouseLocation.Size = new System.Drawing.Size(388, 19); this.checkBoxAppearAtMouseLocation.TabIndex = 0; this.checkBoxAppearAtMouseLocation.Text = "checkBoxAppearAtMouseLocation"; this.checkBoxAppearAtMouseLocation.UseVisualStyleBackColor = true; @@ -598,7 +600,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelMaxMenuWidth.Name = "tableLayoutPanelMaxMenuWidth"; this.tableLayoutPanelMaxMenuWidth.RowCount = 1; this.tableLayoutPanelMaxMenuWidth.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelMaxMenuWidth.Size = new System.Drawing.Size(444, 29); + this.tableLayoutPanelMaxMenuWidth.Size = new System.Drawing.Size(394, 29); this.tableLayoutPanelMaxMenuWidth.TabIndex = 0; // // numericUpDownMenuWidth @@ -613,7 +615,7 @@ namespace SystemTrayMenu.UserInterface this.labelMaxMenuWidth.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelMaxMenuWidth.AutoSize = true; this.labelMaxMenuWidth.Location = new System.Drawing.Point(64, 7); - this.labelMaxMenuWidth.MaximumSize = new System.Drawing.Size(380, 0); + this.labelMaxMenuWidth.MaximumSize = new System.Drawing.Size(330, 0); this.labelMaxMenuWidth.Name = "labelMaxMenuWidth"; this.labelMaxMenuWidth.Size = new System.Drawing.Size(118, 15); this.labelMaxMenuWidth.TabIndex = 0; @@ -625,11 +627,11 @@ namespace SystemTrayMenu.UserInterface this.groupBoxStaysOpen.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxStaysOpen.Controls.Add(this.tableLayoutPanelStaysOpen); this.groupBoxStaysOpen.Location = new System.Drawing.Point(3, 141); - this.groupBoxStaysOpen.MaximumSize = new System.Drawing.Size(450, 0); - this.groupBoxStaysOpen.MinimumSize = new System.Drawing.Size(450, 0); + this.groupBoxStaysOpen.MaximumSize = new System.Drawing.Size(400, 0); + this.groupBoxStaysOpen.MinimumSize = new System.Drawing.Size(400, 0); this.groupBoxStaysOpen.Name = "groupBoxStaysOpen"; this.groupBoxStaysOpen.Padding = new System.Windows.Forms.Padding(3, 3, 3, 6); - this.groupBoxStaysOpen.Size = new System.Drawing.Size(450, 104); + this.groupBoxStaysOpen.Size = new System.Drawing.Size(400, 104); this.groupBoxStaysOpen.TabIndex = 0; this.groupBoxStaysOpen.TabStop = false; this.groupBoxStaysOpen.Text = "groupBoxStaysOpen"; @@ -650,7 +652,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelStaysOpen.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelStaysOpen.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelStaysOpen.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelStaysOpen.Size = new System.Drawing.Size(444, 79); + this.tableLayoutPanelStaysOpen.Size = new System.Drawing.Size(394, 79); this.tableLayoutPanelStaysOpen.TabIndex = 0; // // checkBoxStayOpenWhenItemClicked @@ -693,7 +695,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelTimeUntilCloses.Name = "tableLayoutPanelTimeUntilCloses"; this.tableLayoutPanelTimeUntilCloses.RowCount = 1; this.tableLayoutPanelTimeUntilCloses.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelTimeUntilCloses.Size = new System.Drawing.Size(444, 29); + this.tableLayoutPanelTimeUntilCloses.Size = new System.Drawing.Size(394, 29); this.tableLayoutPanelTimeUntilCloses.TabIndex = 0; // // labelTimeUntilCloses @@ -701,7 +703,7 @@ namespace SystemTrayMenu.UserInterface this.labelTimeUntilCloses.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelTimeUntilCloses.AutoSize = true; this.labelTimeUntilCloses.Location = new System.Drawing.Point(64, 7); - this.labelTimeUntilCloses.MaximumSize = new System.Drawing.Size(380, 0); + this.labelTimeUntilCloses.MaximumSize = new System.Drawing.Size(330, 0); this.labelTimeUntilCloses.Name = "labelTimeUntilCloses"; this.labelTimeUntilCloses.Size = new System.Drawing.Size(117, 15); this.labelTimeUntilCloses.TabIndex = 0; @@ -720,11 +722,11 @@ namespace SystemTrayMenu.UserInterface this.groupBoxOpenSubmenus.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxOpenSubmenus.Controls.Add(this.tableLayoutPanelTimeUntilOpen); this.groupBoxOpenSubmenus.Location = new System.Drawing.Point(3, 251); - this.groupBoxOpenSubmenus.MaximumSize = new System.Drawing.Size(450, 0); - this.groupBoxOpenSubmenus.MinimumSize = new System.Drawing.Size(450, 0); + this.groupBoxOpenSubmenus.MaximumSize = new System.Drawing.Size(400, 0); + this.groupBoxOpenSubmenus.MinimumSize = new System.Drawing.Size(400, 0); this.groupBoxOpenSubmenus.Name = "groupBoxOpenSubmenus"; this.groupBoxOpenSubmenus.Padding = new System.Windows.Forms.Padding(3, 3, 3, 6); - this.groupBoxOpenSubmenus.Size = new System.Drawing.Size(450, 54); + this.groupBoxOpenSubmenus.Size = new System.Drawing.Size(400, 54); this.groupBoxOpenSubmenus.TabIndex = 0; this.groupBoxOpenSubmenus.TabStop = false; this.groupBoxOpenSubmenus.Text = "groupBoxOpenSubmenus"; @@ -743,7 +745,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelTimeUntilOpen.Name = "tableLayoutPanelTimeUntilOpen"; this.tableLayoutPanelTimeUntilOpen.RowCount = 1; this.tableLayoutPanelTimeUntilOpen.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelTimeUntilOpen.Size = new System.Drawing.Size(444, 29); + this.tableLayoutPanelTimeUntilOpen.Size = new System.Drawing.Size(394, 29); this.tableLayoutPanelTimeUntilOpen.TabIndex = 0; // // numericUpDownTimeUntilOpens @@ -758,7 +760,7 @@ namespace SystemTrayMenu.UserInterface this.labelTimeUntilOpen.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelTimeUntilOpen.AutoSize = true; this.labelTimeUntilOpen.Location = new System.Drawing.Point(64, 7); - this.labelTimeUntilOpen.MaximumSize = new System.Drawing.Size(380, 0); + this.labelTimeUntilOpen.MaximumSize = new System.Drawing.Size(330, 0); this.labelTimeUntilOpen.Name = "labelTimeUntilOpen"; this.labelTimeUntilOpen.Size = new System.Drawing.Size(112, 15); this.labelTimeUntilOpen.TabIndex = 0; @@ -784,7 +786,7 @@ namespace SystemTrayMenu.UserInterface this.tabPageCustomize.Location = new System.Drawing.Point(4, 24); this.tabPageCustomize.Name = "tabPageCustomize"; this.tabPageCustomize.Padding = new System.Windows.Forms.Padding(3); - this.tabPageCustomize.Size = new System.Drawing.Size(462, 402); + this.tabPageCustomize.Size = new System.Drawing.Size(414, 382); this.tabPageCustomize.TabIndex = 0; this.tabPageCustomize.Text = "tabPageCustomize"; this.tabPageCustomize.UseVisualStyleBackColor = true; @@ -803,7 +805,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(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanelCustomize.Size = new System.Drawing.Size(456, 365); + this.tableLayoutPanelCustomize.Size = new System.Drawing.Size(406, 371); this.tableLayoutPanelCustomize.TabIndex = 0; // // groupBoxDarkMode @@ -812,10 +814,10 @@ namespace SystemTrayMenu.UserInterface this.groupBoxDarkMode.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxDarkMode.Controls.Add(this.tableLayoutPanelDarkMode); this.groupBoxDarkMode.Location = new System.Drawing.Point(3, 3); - this.groupBoxDarkMode.MaximumSize = new System.Drawing.Size(450, 0); - this.groupBoxDarkMode.MinimumSize = new System.Drawing.Size(450, 0); + this.groupBoxDarkMode.MaximumSize = new System.Drawing.Size(400, 0); + this.groupBoxDarkMode.MinimumSize = new System.Drawing.Size(400, 0); this.groupBoxDarkMode.Name = "groupBoxDarkMode"; - this.groupBoxDarkMode.Size = new System.Drawing.Size(450, 47); + this.groupBoxDarkMode.Size = new System.Drawing.Size(400, 47); this.groupBoxDarkMode.TabIndex = 0; this.groupBoxDarkMode.TabStop = false; this.groupBoxDarkMode.Text = "groupBoxDarkMode"; @@ -834,7 +836,7 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanelDarkMode.Size = new System.Drawing.Size(444, 25); + this.tableLayoutPanelDarkMode.Size = new System.Drawing.Size(394, 25); this.tableLayoutPanelDarkMode.TabIndex = 0; // // checkBoxDarkModeAlwaysOn @@ -852,134 +854,81 @@ namespace SystemTrayMenu.UserInterface // this.groupBoxColors.AutoSize = true; this.groupBoxColors.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.groupBoxColors.Controls.Add(this.tableLayoutPanelColors); + this.groupBoxColors.Controls.Add(this.tableLayoutPanelColorsAndDefault); this.groupBoxColors.Location = new System.Drawing.Point(3, 56); - this.groupBoxColors.MaximumSize = new System.Drawing.Size(450, 0); - this.groupBoxColors.MinimumSize = new System.Drawing.Size(450, 0); + this.groupBoxColors.MaximumSize = new System.Drawing.Size(400, 0); + this.groupBoxColors.MinimumSize = new System.Drawing.Size(400, 0); this.groupBoxColors.Name = "groupBoxColors"; - this.groupBoxColors.Size = new System.Drawing.Size(450, 306); + this.groupBoxColors.Size = new System.Drawing.Size(400, 312); this.groupBoxColors.TabIndex = 0; this.groupBoxColors.TabStop = false; this.groupBoxColors.Text = "groupBoxColors"; // + // tableLayoutPanelColorsAndDefault + // + this.tableLayoutPanelColorsAndDefault.AutoSize = true; + this.tableLayoutPanelColorsAndDefault.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanelColorsAndDefault.ColumnCount = 1; + this.tableLayoutPanelColorsAndDefault.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 444F)); + this.tableLayoutPanelColorsAndDefault.Controls.Add(this.labelPasteHtmlColorCodeOrDoubleClickIntoField, 0, 0); + this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelColors, 0, 1); + this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelColorsDefault, 0, 2); + this.tableLayoutPanelColorsAndDefault.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanelColorsAndDefault.Location = new System.Drawing.Point(3, 19); + this.tableLayoutPanelColorsAndDefault.Name = "tableLayoutPanelColorsAndDefault"; + this.tableLayoutPanelColorsAndDefault.RowCount = 3; + this.tableLayoutPanelColorsAndDefault.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelColorsAndDefault.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelColorsAndDefault.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelColorsAndDefault.Size = new System.Drawing.Size(394, 290); + this.tableLayoutPanelColorsAndDefault.TabIndex = 0; + // // tableLayoutPanelColors // this.tableLayoutPanelColors.AutoSize = true; this.tableLayoutPanelColors.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.tableLayoutPanelColors.ColumnCount = 1; - this.tableLayoutPanelColors.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 444F)); - this.tableLayoutPanelColors.Controls.Add(this.labelPasteHtmlColorCodeOrDoubleClickIntoField, 0, 0); - this.tableLayoutPanelColors.Controls.Add(this.tableLayoutPanel2, 0, 2); - this.tableLayoutPanelColors.Controls.Add(this.tableLayoutPanel1, 0, 1); + this.tableLayoutPanelColors.ColumnCount = 3; + this.tableLayoutPanelColors.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelColors.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelColors.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorWarning, 0, 7); + this.tableLayoutPanelColors.Controls.Add(this.labelWarning, 2, 7); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorDarkModeWarning, 1, 7); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorSelectedItemBorder, 0, 6); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorDarkModeSelectedItemBorder, 1, 6); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorDarkModeSelecetedItem, 1, 5); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorSelectedItem, 0, 5); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorOpenFolderBorder, 0, 4); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorDarkModeOpenFolderBorder, 1, 4); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorDarkModeOpenFolder, 1, 3); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorOpenFolder, 0, 3); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorDarkModeTitle, 1, 0); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorTitle, 0, 0); + this.tableLayoutPanelColors.Controls.Add(this.labelTitle, 2, 0); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorDarkModeSearchField, 1, 2); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorSearchField, 0, 2); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorDarkModeBackground, 1, 1); + this.tableLayoutPanelColors.Controls.Add(this.textBoxColorBackground, 0, 1); + this.tableLayoutPanelColors.Controls.Add(this.labelBackground, 2, 1); + this.tableLayoutPanelColors.Controls.Add(this.labelSearchField, 2, 2); + this.tableLayoutPanelColors.Controls.Add(this.labelOpenFolder, 2, 3); + this.tableLayoutPanelColors.Controls.Add(this.labelOpenFolderBorder, 2, 4); + this.tableLayoutPanelColors.Controls.Add(this.labelSelectedItem, 2, 5); + this.tableLayoutPanelColors.Controls.Add(this.labelSelectedItemBorder, 2, 6); this.tableLayoutPanelColors.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanelColors.Location = new System.Drawing.Point(3, 19); + this.tableLayoutPanelColors.Location = new System.Drawing.Point(3, 18); this.tableLayoutPanelColors.Name = "tableLayoutPanelColors"; - this.tableLayoutPanelColors.RowCount = 3; + this.tableLayoutPanelColors.RowCount = 8; this.tableLayoutPanelColors.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelColors.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelColors.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelColors.Size = new System.Drawing.Size(444, 284); - this.tableLayoutPanelColors.TabIndex = 0; - // - // labelPasteHtmlColorCodeOrDoubleClickIntoField - // - this.labelPasteHtmlColorCodeOrDoubleClickIntoField.AutoSize = true; - this.labelPasteHtmlColorCodeOrDoubleClickIntoField.Location = new System.Drawing.Point(3, 0); - this.labelPasteHtmlColorCodeOrDoubleClickIntoField.MaximumSize = new System.Drawing.Size(435, 0); - this.labelPasteHtmlColorCodeOrDoubleClickIntoField.Name = "labelPasteHtmlColorCodeOrDoubleClickIntoField"; - this.labelPasteHtmlColorCodeOrDoubleClickIntoField.Size = new System.Drawing.Size(267, 15); - this.labelPasteHtmlColorCodeOrDoubleClickIntoField.TabIndex = 1; - this.labelPasteHtmlColorCodeOrDoubleClickIntoField.Text = "labelPasteHtmlColorCodeOrDoubleClickIntoField"; - // - // tableLayoutPanel2 - // - this.tableLayoutPanel2.AutoSize = true; - this.tableLayoutPanel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.tableLayoutPanel2.ColumnCount = 2; - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel2.Controls.Add(this.buttonDefaultColors, 0, 0); - this.tableLayoutPanel2.Controls.Add(this.buttonDefaultColorsDark, 1, 0); - this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 253); - this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0); - this.tableLayoutPanel2.Name = "tableLayoutPanel2"; - this.tableLayoutPanel2.RowCount = 1; - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel2.Size = new System.Drawing.Size(286, 31); - this.tableLayoutPanel2.TabIndex = 4; - // - // buttonDefaultColors - // - this.buttonDefaultColors.AutoSize = true; - this.buttonDefaultColors.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.buttonDefaultColors.Location = new System.Drawing.Point(3, 3); - this.buttonDefaultColors.MinimumSize = new System.Drawing.Size(75, 25); - this.buttonDefaultColors.Name = "buttonDefaultColors"; - this.buttonDefaultColors.Size = new System.Drawing.Size(125, 25); - this.buttonDefaultColors.TabIndex = 3; - this.buttonDefaultColors.Text = "buttonDefaultColors"; - this.buttonDefaultColors.UseVisualStyleBackColor = true; - this.buttonDefaultColors.Click += new System.EventHandler(this.ButtonDefaultColors_Click); - // - // buttonDefaultColorsDark - // - this.buttonDefaultColorsDark.AutoSize = true; - this.buttonDefaultColorsDark.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.buttonDefaultColorsDark.Location = new System.Drawing.Point(134, 3); - this.buttonDefaultColorsDark.MinimumSize = new System.Drawing.Size(75, 25); - this.buttonDefaultColorsDark.Name = "buttonDefaultColorsDark"; - this.buttonDefaultColorsDark.Size = new System.Drawing.Size(149, 25); - this.buttonDefaultColorsDark.TabIndex = 3; - this.buttonDefaultColorsDark.Text = "buttonDefaultColorsDark"; - this.buttonDefaultColorsDark.UseVisualStyleBackColor = true; - this.buttonDefaultColorsDark.Click += new System.EventHandler(this.ButtonDefaultColorsDark_Click); - // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.AutoSize = true; - this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.tableLayoutPanel1.ColumnCount = 3; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorWarning, 0, 7); - this.tableLayoutPanel1.Controls.Add(this.labelWarning, 2, 7); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorDarkModeWarning, 1, 7); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorSelectedItemBorder, 0, 6); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorDarkModeSelectedItemBorder, 1, 6); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorDarkModeSelecetedItem, 1, 5); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorSelectedItem, 0, 5); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorOpenFolderBorder, 0, 4); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorDarkModeOpenFolderBorder, 1, 4); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorDarkModeOpenFolder, 1, 3); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorOpenFolder, 0, 3); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorDarkModeTitle, 1, 0); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorTitle, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.labelTitle, 2, 0); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorDarkModeSearchField, 1, 2); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorSearchField, 0, 2); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorDarkModeBackground, 1, 1); - this.tableLayoutPanel1.Controls.Add(this.textBoxColorBackground, 0, 1); - this.tableLayoutPanel1.Controls.Add(this.labelBackground, 2, 1); - this.tableLayoutPanel1.Controls.Add(this.labelSearchField, 2, 2); - this.tableLayoutPanel1.Controls.Add(this.labelOpenFolder, 2, 3); - this.tableLayoutPanel1.Controls.Add(this.labelOpenFolderBorder, 2, 4); - this.tableLayoutPanel1.Controls.Add(this.labelSelectedItem, 2, 5); - this.tableLayoutPanel1.Controls.Add(this.labelSelectedItemBorder, 2, 6); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 18); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 8; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel1.Size = new System.Drawing.Size(438, 232); - this.tableLayoutPanel1.TabIndex = 1; + this.tableLayoutPanelColors.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelColors.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelColors.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelColors.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelColors.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelColors.Size = new System.Drawing.Size(438, 232); + this.tableLayoutPanelColors.TabIndex = 1; // // textBoxColorWarning // @@ -1015,94 +964,94 @@ namespace SystemTrayMenu.UserInterface this.textBoxColorDarkModeWarning.TextChanged += new System.EventHandler(this.TextBoxColorsChanged); this.textBoxColorDarkModeWarning.DoubleClick += new System.EventHandler(this.TextBoxColorsDoubleClick); // - // textBoxColorSelectedBorder + // textBoxColorSelectedItemBorder // this.textBoxColorSelectedItemBorder.Location = new System.Drawing.Point(3, 177); this.textBoxColorSelectedItemBorder.MaxLength = 12; - this.textBoxColorSelectedItemBorder.Name = "textBoxColorSelectedBorder"; + this.textBoxColorSelectedItemBorder.Name = "textBoxColorSelectedItemBorder"; this.textBoxColorSelectedItemBorder.Size = new System.Drawing.Size(69, 23); this.textBoxColorSelectedItemBorder.TabIndex = 2; this.textBoxColorSelectedItemBorder.Text = "#ffffff"; this.textBoxColorSelectedItemBorder.TextChanged += new System.EventHandler(this.TextBoxColorsChanged); this.textBoxColorSelectedItemBorder.DoubleClick += new System.EventHandler(this.TextBoxColorsDoubleClick); // - // textBoxColorDarkModeSelectedBorder + // textBoxColorDarkModeSelectedItemBorder // this.textBoxColorDarkModeSelectedItemBorder.BackColor = System.Drawing.SystemColors.WindowText; this.textBoxColorDarkModeSelectedItemBorder.ForeColor = System.Drawing.SystemColors.Window; this.textBoxColorDarkModeSelectedItemBorder.Location = new System.Drawing.Point(78, 177); this.textBoxColorDarkModeSelectedItemBorder.MaxLength = 12; - this.textBoxColorDarkModeSelectedItemBorder.Name = "textBoxColorDarkModeSelectedBorder"; + this.textBoxColorDarkModeSelectedItemBorder.Name = "textBoxColorDarkModeSelectedItemBorder"; this.textBoxColorDarkModeSelectedItemBorder.Size = new System.Drawing.Size(69, 23); this.textBoxColorDarkModeSelectedItemBorder.TabIndex = 2; this.textBoxColorDarkModeSelectedItemBorder.Text = "#ffffff"; this.textBoxColorDarkModeSelectedItemBorder.TextChanged += new System.EventHandler(this.TextBoxColorsChanged); this.textBoxColorDarkModeSelectedItemBorder.DoubleClick += new System.EventHandler(this.TextBoxColorsDoubleClick); // - // textBoxColorDarkModeSeleceted + // textBoxColorDarkModeSelecetedItem // this.textBoxColorDarkModeSelecetedItem.BackColor = System.Drawing.SystemColors.WindowText; this.textBoxColorDarkModeSelecetedItem.ForeColor = System.Drawing.SystemColors.Window; this.textBoxColorDarkModeSelecetedItem.Location = new System.Drawing.Point(78, 148); this.textBoxColorDarkModeSelecetedItem.MaxLength = 12; - this.textBoxColorDarkModeSelecetedItem.Name = "textBoxColorDarkModeSeleceted"; + this.textBoxColorDarkModeSelecetedItem.Name = "textBoxColorDarkModeSelecetedItem"; this.textBoxColorDarkModeSelecetedItem.Size = new System.Drawing.Size(69, 23); this.textBoxColorDarkModeSelecetedItem.TabIndex = 2; this.textBoxColorDarkModeSelecetedItem.Text = "#ffffff"; this.textBoxColorDarkModeSelecetedItem.TextChanged += new System.EventHandler(this.TextBoxColorsChanged); this.textBoxColorDarkModeSelecetedItem.DoubleClick += new System.EventHandler(this.TextBoxColorsDoubleClick); // - // textBoxColorSelected + // textBoxColorSelectedItem // this.textBoxColorSelectedItem.Location = new System.Drawing.Point(3, 148); this.textBoxColorSelectedItem.MaxLength = 12; - this.textBoxColorSelectedItem.Name = "textBoxColorSelected"; + this.textBoxColorSelectedItem.Name = "textBoxColorSelectedItem"; this.textBoxColorSelectedItem.Size = new System.Drawing.Size(69, 23); this.textBoxColorSelectedItem.TabIndex = 2; this.textBoxColorSelectedItem.Text = "#ffffff"; this.textBoxColorSelectedItem.TextChanged += new System.EventHandler(this.TextBoxColorsChanged); this.textBoxColorSelectedItem.DoubleClick += new System.EventHandler(this.TextBoxColorsDoubleClick); // - // textBoxColorOpenMenuBorder + // textBoxColorOpenFolderBorder // this.textBoxColorOpenFolderBorder.Location = new System.Drawing.Point(3, 119); - this.textBoxColorOpenFolderBorder.Name = "textBoxColorOpenMenuBorder"; + this.textBoxColorOpenFolderBorder.Name = "textBoxColorOpenFolderBorder"; this.textBoxColorOpenFolderBorder.Size = new System.Drawing.Size(69, 23); this.textBoxColorOpenFolderBorder.TabIndex = 2; this.textBoxColorOpenFolderBorder.Text = "#ffffff"; this.textBoxColorOpenFolderBorder.TextChanged += new System.EventHandler(this.TextBoxColorsChanged); this.textBoxColorOpenFolderBorder.DoubleClick += new System.EventHandler(this.TextBoxColorsDoubleClick); // - // textBoxColorDarkModeModeOpenMenuBorder + // textBoxColorDarkModeOpenFolderBorder // this.textBoxColorDarkModeOpenFolderBorder.BackColor = System.Drawing.SystemColors.WindowText; this.textBoxColorDarkModeOpenFolderBorder.ForeColor = System.Drawing.SystemColors.Window; this.textBoxColorDarkModeOpenFolderBorder.Location = new System.Drawing.Point(78, 119); - this.textBoxColorDarkModeOpenFolderBorder.Name = "textBoxColorDarkModeModeOpenMenuBorder"; + this.textBoxColorDarkModeOpenFolderBorder.Name = "textBoxColorDarkModeOpenFolderBorder"; this.textBoxColorDarkModeOpenFolderBorder.Size = new System.Drawing.Size(69, 23); this.textBoxColorDarkModeOpenFolderBorder.TabIndex = 2; this.textBoxColorDarkModeOpenFolderBorder.Text = "#ffffff"; this.textBoxColorDarkModeOpenFolderBorder.TextChanged += new System.EventHandler(this.TextBoxColorsChanged); this.textBoxColorDarkModeOpenFolderBorder.DoubleClick += new System.EventHandler(this.TextBoxColorsDoubleClick); // - // textBoxColorDarkModeOpenMenu + // textBoxColorDarkModeOpenFolder // this.textBoxColorDarkModeOpenFolder.BackColor = System.Drawing.SystemColors.WindowText; this.textBoxColorDarkModeOpenFolder.ForeColor = System.Drawing.SystemColors.Window; this.textBoxColorDarkModeOpenFolder.Location = new System.Drawing.Point(78, 90); this.textBoxColorDarkModeOpenFolder.MaxLength = 12; - this.textBoxColorDarkModeOpenFolder.Name = "textBoxColorDarkModeOpenMenu"; + this.textBoxColorDarkModeOpenFolder.Name = "textBoxColorDarkModeOpenFolder"; this.textBoxColorDarkModeOpenFolder.Size = new System.Drawing.Size(69, 23); this.textBoxColorDarkModeOpenFolder.TabIndex = 2; this.textBoxColorDarkModeOpenFolder.Text = "#ffffff"; this.textBoxColorDarkModeOpenFolder.TextChanged += new System.EventHandler(this.TextBoxColorsChanged); this.textBoxColorDarkModeOpenFolder.DoubleClick += new System.EventHandler(this.TextBoxColorsDoubleClick); // - // textBoxColorOpenMenu + // textBoxColorOpenFolder // this.textBoxColorOpenFolder.Location = new System.Drawing.Point(3, 90); this.textBoxColorOpenFolder.MaxLength = 12; - this.textBoxColorOpenFolder.Name = "textBoxColorOpenMenu"; + this.textBoxColorOpenFolder.Name = "textBoxColorOpenFolder"; this.textBoxColorOpenFolder.Size = new System.Drawing.Size(69, 23); this.textBoxColorOpenFolder.TabIndex = 2; this.textBoxColorOpenFolder.Text = "#ffffff"; @@ -1143,48 +1092,48 @@ namespace SystemTrayMenu.UserInterface this.labelTitle.TabIndex = 0; this.labelTitle.Text = "labelTitle"; // - // textBoxColorDarkModeSearch + // textBoxColorDarkModeSearchField // this.textBoxColorDarkModeSearchField.BackColor = System.Drawing.SystemColors.WindowText; this.textBoxColorDarkModeSearchField.ForeColor = System.Drawing.SystemColors.Window; this.textBoxColorDarkModeSearchField.Location = new System.Drawing.Point(78, 61); this.textBoxColorDarkModeSearchField.MaxLength = 12; - this.textBoxColorDarkModeSearchField.Name = "textBoxColorDarkModeSearch"; + this.textBoxColorDarkModeSearchField.Name = "textBoxColorDarkModeSearchField"; this.textBoxColorDarkModeSearchField.Size = new System.Drawing.Size(69, 23); this.textBoxColorDarkModeSearchField.TabIndex = 2; this.textBoxColorDarkModeSearchField.Text = "#ffffff"; this.textBoxColorDarkModeSearchField.TextChanged += new System.EventHandler(this.TextBoxColorsChanged); this.textBoxColorDarkModeSearchField.DoubleClick += new System.EventHandler(this.TextBoxColorsDoubleClick); // - // textBoxColorSearch + // textBoxColorSearchField // this.textBoxColorSearchField.Location = new System.Drawing.Point(3, 61); this.textBoxColorSearchField.MaxLength = 12; - this.textBoxColorSearchField.Name = "textBoxColorSearch"; + this.textBoxColorSearchField.Name = "textBoxColorSearchField"; this.textBoxColorSearchField.Size = new System.Drawing.Size(69, 23); this.textBoxColorSearchField.TabIndex = 2; this.textBoxColorSearchField.Text = "#ffffff"; this.textBoxColorSearchField.TextChanged += new System.EventHandler(this.TextBoxColorsChanged); this.textBoxColorSearchField.DoubleClick += new System.EventHandler(this.TextBoxColorsDoubleClick); // - // textBoxColorDarkModeMain + // textBoxColorDarkModeBackground // this.textBoxColorDarkModeBackground.BackColor = System.Drawing.SystemColors.WindowText; this.textBoxColorDarkModeBackground.ForeColor = System.Drawing.SystemColors.Window; this.textBoxColorDarkModeBackground.Location = new System.Drawing.Point(78, 32); this.textBoxColorDarkModeBackground.MaxLength = 12; - this.textBoxColorDarkModeBackground.Name = "textBoxColorDarkModeMain"; + this.textBoxColorDarkModeBackground.Name = "textBoxColorDarkModeBackground"; this.textBoxColorDarkModeBackground.Size = new System.Drawing.Size(69, 23); this.textBoxColorDarkModeBackground.TabIndex = 2; this.textBoxColorDarkModeBackground.Text = "#ffffff"; this.textBoxColorDarkModeBackground.TextChanged += new System.EventHandler(this.TextBoxColorsChanged); this.textBoxColorDarkModeBackground.DoubleClick += new System.EventHandler(this.TextBoxColorsDoubleClick); // - // textBoxColorMain + // textBoxColorBackground // this.textBoxColorBackground.Location = new System.Drawing.Point(3, 32); this.textBoxColorBackground.MaxLength = 12; - this.textBoxColorBackground.Name = "textBoxColorMain"; + this.textBoxColorBackground.Name = "textBoxColorBackground"; this.textBoxColorBackground.Size = new System.Drawing.Size(69, 23); this.textBoxColorBackground.TabIndex = 2; this.textBoxColorBackground.Text = "#ffffff"; @@ -1251,6 +1200,59 @@ namespace SystemTrayMenu.UserInterface this.labelSelectedItemBorder.TabIndex = 0; this.labelSelectedItemBorder.Text = "labelSelectedItemBorder"; // + // labelPasteHtmlColorCodeOrDoubleClickIntoField + // + this.labelPasteHtmlColorCodeOrDoubleClickIntoField.AutoSize = true; + this.labelPasteHtmlColorCodeOrDoubleClickIntoField.Location = new System.Drawing.Point(3, 0); + this.labelPasteHtmlColorCodeOrDoubleClickIntoField.MaximumSize = new System.Drawing.Size(385, 0); + this.labelPasteHtmlColorCodeOrDoubleClickIntoField.Name = "labelPasteHtmlColorCodeOrDoubleClickIntoField"; + this.labelPasteHtmlColorCodeOrDoubleClickIntoField.Size = new System.Drawing.Size(267, 15); + this.labelPasteHtmlColorCodeOrDoubleClickIntoField.TabIndex = 1; + this.labelPasteHtmlColorCodeOrDoubleClickIntoField.Text = "labelPasteHtmlColorCodeOrDoubleClickIntoField"; + // + // tableLayoutPanelColorsDefault + // + this.tableLayoutPanelColorsDefault.AutoSize = true; + this.tableLayoutPanelColorsDefault.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanelColorsDefault.ColumnCount = 2; + this.tableLayoutPanelColorsDefault.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelColorsDefault.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelColorsDefault.Controls.Add(this.buttonDefaultColors, 0, 0); + this.tableLayoutPanelColorsDefault.Controls.Add(this.buttonDefaultColorsDark, 1, 0); + this.tableLayoutPanelColorsDefault.Location = new System.Drawing.Point(3, 256); + this.tableLayoutPanelColorsDefault.Name = "tableLayoutPanelColorsDefault"; + this.tableLayoutPanelColorsDefault.RowCount = 1; + this.tableLayoutPanelColorsDefault.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelColorsDefault.Size = new System.Drawing.Size(285, 31); + this.tableLayoutPanelColorsDefault.TabIndex = 4; + // + // buttonDefaultColors + // + this.buttonDefaultColors.AutoSize = true; + this.buttonDefaultColors.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.buttonDefaultColors.Location = new System.Drawing.Point(2, 3); + this.buttonDefaultColors.Margin = new System.Windows.Forms.Padding(2, 3, 3, 3); + this.buttonDefaultColors.MinimumSize = new System.Drawing.Size(75, 25); + this.buttonDefaultColors.Name = "buttonDefaultColors"; + this.buttonDefaultColors.Size = new System.Drawing.Size(125, 25); + this.buttonDefaultColors.TabIndex = 3; + this.buttonDefaultColors.Text = "buttonDefaultColors"; + this.buttonDefaultColors.UseVisualStyleBackColor = true; + this.buttonDefaultColors.Click += new System.EventHandler(this.ButtonDefaultColors_Click); + // + // buttonDefaultColorsDark + // + this.buttonDefaultColorsDark.AutoSize = true; + this.buttonDefaultColorsDark.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.buttonDefaultColorsDark.Location = new System.Drawing.Point(133, 3); + this.buttonDefaultColorsDark.MinimumSize = new System.Drawing.Size(75, 25); + this.buttonDefaultColorsDark.Name = "buttonDefaultColorsDark"; + this.buttonDefaultColorsDark.Size = new System.Drawing.Size(149, 25); + this.buttonDefaultColorsDark.TabIndex = 3; + this.buttonDefaultColorsDark.Text = "buttonDefaultColorsDark"; + this.buttonDefaultColorsDark.UseVisualStyleBackColor = true; + this.buttonDefaultColorsDark.Click += new System.EventHandler(this.ButtonDefaultColorsDark_Click); + // // SettingsForm // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); @@ -1330,12 +1332,12 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelDarkMode.PerformLayout(); this.groupBoxColors.ResumeLayout(false); this.groupBoxColors.PerformLayout(); + this.tableLayoutPanelColorsAndDefault.ResumeLayout(false); + this.tableLayoutPanelColorsAndDefault.PerformLayout(); this.tableLayoutPanelColors.ResumeLayout(false); this.tableLayoutPanelColors.PerformLayout(); - this.tableLayoutPanel2.ResumeLayout(false); - this.tableLayoutPanel2.PerformLayout(); - this.tableLayoutPanel1.ResumeLayout(false); - this.tableLayoutPanel1.PerformLayout(); + this.tableLayoutPanelColorsDefault.ResumeLayout(false); + this.tableLayoutPanelColorsDefault.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -1374,7 +1376,7 @@ namespace SystemTrayMenu.UserInterface private System.Windows.Forms.TableLayoutPanel tableLayoutPanelDarkMode; private System.Windows.Forms.GroupBox groupBoxColors; private System.Windows.Forms.TableLayoutPanel tableLayoutPanelClick; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanelColors; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanelColorsAndDefault; private System.Windows.Forms.TableLayoutPanel tableLayoutPanelCustomize; private System.Windows.Forms.TableLayoutPanel tableLayoutPanelStaysOpen; private System.Windows.Forms.TableLayoutPanel tableLayoutPanelTimeUntilCloses; @@ -1416,7 +1418,7 @@ namespace SystemTrayMenu.UserInterface private System.Windows.Forms.TextBox textBoxColorDarkModeSearchField; private System.Windows.Forms.Button buttonDefaultColors; private System.Windows.Forms.TextBox textBoxColorSearchField; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanelColors; private System.Windows.Forms.Label labelWarning; private System.Windows.Forms.Label labelTitle; private System.Windows.Forms.Label labelBackground; @@ -1425,7 +1427,7 @@ namespace SystemTrayMenu.UserInterface private System.Windows.Forms.Label labelOpenFolderBorder; private System.Windows.Forms.Label labelSelectedItem; private System.Windows.Forms.Label labelSelectedItemBorder; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanelColorsDefault; private System.Windows.Forms.Label labelPasteHtmlColorCodeOrDoubleClickIntoField; } } \ No newline at end of file