[Features] (#260, #261, #262, #263, #264, #265, #266, #267), version 1.1.2.2

This commit is contained in:
Markus Hofknecht 2021-12-09 20:00:33 +01:00
parent 8233667fd5
commit 4fad5b17aa
16 changed files with 438 additions and 881 deletions

View file

@ -368,70 +368,26 @@ namespace SystemTrayMenu.Handler
break;
case Keys.Left:
int iMenuKeyNext = iMenuKey + 1;
if (isStillSelected)
bool nextMenuLocationIsLeft = menus[iMenuKey + 1] != null && menus[iMenuKey + 1].Location.X < menus[iMenuKey].Location.X;
if (nextMenuLocationIsLeft)
{
if (menuFromSelected != null &&
menuFromSelected == menus[iMenuKeyNext])
{
dgv = menuFromSelected.GetDataGridView();
if (dgv.Rows.Count > 0)
{
iMenuKey += 1;
iRowKey = -1;
if (SelectMatched(dgv, iRowKey) ||
SelectMatched(dgv, 0))
{
RowDeselected(iRowBefore, dgvBefore);
SelectRow(dgv, iRowKey);
toClear = true;
}
}
}
SelectNextMenu(iRowBefore, ref dgv, dgvBefore, menuFromSelected, isStillSelected, ref toClear);
}
else
{
iRowKey = -1;
iMenuKey = menus.Where(m => m != null).Count() - 1;
if (menus[iMenuKey] != null)
{
dgv = menus[iMenuKey].GetDataGridView();
if (SelectMatched(dgv, iRowKey) ||
SelectMatched(dgv, 0))
{
RowDeselected(iRowBefore, dgvBefore);
SelectRow(dgv, iRowKey);
toClear = true;
}
}
SelectPreviousMenu(iRowBefore, ref menu, ref dgv, dgvBefore, ref toClear);
}
break;
case Keys.Right:
if (iMenuKey > 0)
bool nextMenuLocationIsRight = menus[iMenuKey + 1] != null && menus[iMenuKey + 1].Location.X > menus[iMenuKey].Location.X;
if (nextMenuLocationIsRight)
{
if (menus[iMenuKey - 1] != null)
{
iMenuKey -= 1;
iRowKey = -1;
menu = menus[iMenuKey];
dgv = menu.GetDataGridView();
if (SelectMatched(dgv, dgv.SelectedRows[0].Index) ||
SelectMatched(dgv, 0))
{
RowDeselected(iRowBefore, dgvBefore);
SelectRow(dgv, iRowKey);
toClear = true;
}
}
SelectNextMenu(iRowBefore, ref dgv, dgvBefore, menuFromSelected, isStillSelected, ref toClear);
}
else
{
RowDeselected(iRowBefore, dgvBefore);
iMenuKey = 0;
iRowKey = -1;
toClear = true;
Cleared?.Invoke();
SelectPreviousMenu(iRowBefore, ref menu, ref dgv, dgvBefore, ref toClear);
}
break;
@ -477,6 +433,76 @@ namespace SystemTrayMenu.Handler
}
}
private void SelectPreviousMenu(int iRowBefore, ref Menu menu, ref DataGridView dgv, DataGridView dgvBefore, ref bool toClear)
{
if (iMenuKey > 0)
{
if (menus[iMenuKey - 1] != null)
{
iMenuKey -= 1;
iRowKey = -1;
menu = menus[iMenuKey];
dgv = menu.GetDataGridView();
if (SelectMatched(dgv, dgv.SelectedRows[0].Index) ||
SelectMatched(dgv, 0))
{
RowDeselected(iRowBefore, dgvBefore);
SelectRow(dgv, iRowKey);
toClear = true;
}
}
}
else
{
RowDeselected(iRowBefore, dgvBefore);
iMenuKey = 0;
iRowKey = -1;
toClear = true;
Cleared?.Invoke();
}
}
private void SelectNextMenu(int iRowBefore, ref DataGridView dgv, DataGridView dgvBefore, Menu menuFromSelected, bool isStillSelected, ref bool toClear)
{
int iMenuKeyNext = iMenuKey + 1;
if (isStillSelected)
{
if (menuFromSelected != null &&
menuFromSelected == menus[iMenuKeyNext])
{
dgv = menuFromSelected.GetDataGridView();
if (dgv.Rows.Count > 0)
{
iMenuKey += 1;
iRowKey = -1;
if (SelectMatched(dgv, iRowKey) ||
SelectMatched(dgv, 0))
{
RowDeselected(iRowBefore, dgvBefore);
SelectRow(dgv, iRowKey);
toClear = true;
}
}
}
}
else
{
iRowKey = -1;
iMenuKey = menus.Where(m => m != null).Count() - 1;
if (menus[iMenuKey] != null)
{
dgv = menus[iMenuKey].GetDataGridView();
if (SelectMatched(dgv, iRowKey) ||
SelectMatched(dgv, 0))
{
RowDeselected(iRowBefore, dgvBefore);
SelectRow(dgv, iRowKey);
toClear = true;
}
}
}
}
private void SelectRow(DataGridView dgv, int iRowKey)
{
InUse = true;

View file

@ -186,7 +186,7 @@ namespace SystemTrayMenu.Business
Level = rowData.MenuLevel + 1,
};
Menu menuLoading = Create(menuDataLoading, Path.GetFileName(Config.Path));
Menu menuLoading = Create(menuDataLoading, Path.GetFileName(rowData.TargetFilePathOrig));
menuLoading.IsLoadingMenu = true;
AdjustMenusSizeAndLocation();
menus[rowData.MenuLevel + 1] = menuLoading;
@ -217,8 +217,10 @@ namespace SystemTrayMenu.Business
MenuData menuData = (MenuData)e.Result;
Menu menuLoading = menus[menuData.Level];
string userSearchText = string.Empty;
if (menuLoading != null && menuLoading.IsLoadingMenu)
{
userSearchText = menuLoading.GetSearchText();
menuLoading.HideWithFade();
menus[menuLoading.Level] = null;
}
@ -245,6 +247,10 @@ namespace SystemTrayMenu.Business
if (menus[0].IsUsable)
{
ShowSubMenu(menu);
if (!string.IsNullOrEmpty(userSearchText))
{
menu.SetSearchText(userSearchText);
}
}
}
}
@ -1232,6 +1238,12 @@ namespace SystemTrayMenu.Business
{
screenBounds = Screen.FromPoint(Cursor.Position).Bounds;
}
else if (Properties.Settings.Default.UseCustomLocation)
{
screenBounds = Screen.FromPoint(new Point(
Properties.Settings.Default.CustomLocationX,
Properties.Settings.Default.CustomLocationY)).Bounds;
}
else
{
screenBounds = Screen.PrimaryScreen.Bounds;
@ -1292,7 +1304,10 @@ namespace SystemTrayMenu.Business
menu.AdjustSizeAndLocation(screenBounds, menuPredecessor, startLocation);
}
if (i == 0)
if (!Properties.Settings.Default.AppearAtTheBottomLeft &&
!Properties.Settings.Default.AppearAtMouseLocation &&
!Properties.Settings.Default.UseCustomLocation &&
i == 0)
{
const int overlapTolerance = 4;

View file

@ -64,14 +64,6 @@ namespace SystemTrayMenu
public static Color DarkModeOpenFolderBorder { get; set; }
public static Color Warning { get; set; }
public static Color DarkModeWarning { get; set; }
public static Color Title { get; set; }
public static Color DarkModeTitle { get; set; }
public static Color Background { get; set; }
public static Color DarkModeBackground { get; set; }

View file

@ -214,30 +214,6 @@ namespace SystemTrayMenu
Settings.Default.ColorDarkModeOpenFolderBorder = colorAndCode.HtmlColorCode;
AppColors.DarkModeOpenFolderBorder = colorAndCode.Color;
colorAndCode.HtmlColorCode = Settings.Default.ColorWarning;
colorAndCode.Color = Color.FromArgb(255, 204, 232);
colorAndCode = ProcessColorAndCode(converter, colorAndCode, ref changed);
Settings.Default.ColorWarning = colorAndCode.HtmlColorCode;
AppColors.Warning = colorAndCode.Color;
colorAndCode.HtmlColorCode = Settings.Default.ColorDarkModeWarning;
colorAndCode.Color = Color.FromArgb(75, 24, 52);
colorAndCode = ProcessColorAndCode(converter, colorAndCode, ref changed);
Settings.Default.ColorDarkModeWarning = colorAndCode.HtmlColorCode;
AppColors.DarkModeWarning = colorAndCode.Color;
colorAndCode.HtmlColorCode = Settings.Default.ColorTitle;
colorAndCode.Color = Color.Azure;
colorAndCode = ProcessColorAndCode(converter, colorAndCode, ref changed);
Settings.Default.ColorTitle = colorAndCode.HtmlColorCode;
AppColors.Title = colorAndCode.Color;
colorAndCode.HtmlColorCode = Settings.Default.ColorDarkModeTitle;
colorAndCode.Color = Color.FromArgb(43, 43, 43);
colorAndCode = ProcessColorAndCode(converter, colorAndCode, ref changed);
Settings.Default.ColorDarkModeTitle = colorAndCode.HtmlColorCode;
AppColors.DarkModeTitle = colorAndCode.Color;
colorAndCode.HtmlColorCode = Settings.Default.ColorIcons;
colorAndCode.Color = Color.FromArgb(149, 160, 166);
colorAndCode = ProcessColorAndCode(converter, colorAndCode, ref changed);

View file

@ -72,51 +72,6 @@ namespace SystemTrayMenu
}
}
public static Color ColorTitleWarning
{
get
{
if (Config.IsDarkMode())
{
return AppColors.DarkModeWarning;
}
else
{
return AppColors.Warning;
}
}
}
public static Color ColorTitleSelected
{
get
{
if (Config.IsDarkMode())
{
return AppColors.DarkModeSelecetedItem;
}
else
{
return AppColors.SelectedItem;
}
}
}
public static Color ColorTitleBackground
{
get
{
if (Config.IsDarkMode())
{
return AppColors.DarkModeTitle;
}
else
{
return AppColors.Title;
}
}
}
public static Color ColorIcons
{
get

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.1.2.1")]
[assembly: AssemblyFileVersion("1.1.2.1")]
[assembly: AssemblyVersion("1.1.2.2")]
[assembly: AssemblyFileVersion("1.1.2.2")]

View file

@ -366,7 +366,7 @@ namespace SystemTrayMenu.Properties
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("0")]
[global::System.Configuration.DefaultSettingValueAttribute("600")]
public int CustomLocationX
{
get
@ -382,7 +382,7 @@ namespace SystemTrayMenu.Properties
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("0")]
[global::System.Configuration.DefaultSettingValueAttribute("600")]
public int CustomLocationY
{
get
@ -619,70 +619,6 @@ namespace SystemTrayMenu.Properties
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("#FFCCE8")]
public string ColorWarning
{
get
{
return ((string)(this["ColorWarning"]));
}
set
{
this["ColorWarning"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("#4B1834")]
public string ColorDarkModeWarning
{
get
{
return ((string)(this["ColorDarkModeWarning"]));
}
set
{
this["ColorDarkModeWarning"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("#f0ffff")]
public string ColorTitle
{
get
{
return ((string)(this["ColorTitle"]));
}
set
{
this["ColorTitle"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("#2B2B2B")]
public string ColorDarkModeTitle
{
get
{
return ((string)(this["ColorDarkModeTitle"]));
}
set
{
this["ColorDarkModeTitle"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

View file

@ -492,6 +492,24 @@ namespace SystemTrayMenu.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Item.
/// </summary>
internal static string Item {
get {
return ResourceManager.GetString("Item", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Items.
/// </summary>
internal static string Items {
get {
return ResourceManager.GetString("Items", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Language.
/// </summary>

View file

@ -417,4 +417,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>Custom (drag it to the appropriate place)</value>
</data>
<data name="Item" xml:space="preserve">
<value>Item</value>
</data>
<data name="Items" xml:space="preserve">
<value>Items</value>
</data>
</root>

View file

@ -94,7 +94,7 @@ namespace SystemTrayMenu.UserInterface
textBoxSearch.ContextMenuStrip = new ContextMenuStrip();
tableLayoutPanelTitle.Controls.Add(labelTitle, 1, 0);
tableLayoutPanelMenu.Controls.Add(labelTitle, 0, 0);
// customScrollbar
customScrollbar.Location = new Point(0, 0);
@ -121,15 +121,7 @@ namespace SystemTrayMenu.UserInterface
Scaling.Scale(pictureBoxSearch.Width),
Scaling.Scale(pictureBoxSearch.Height));
pictureBoxFoldersCount.Size = new Size(
Scaling.Scale(pictureBoxFoldersCount.Width),
Scaling.Scale(pictureBoxFoldersCount.Height));
pictureBoxFilesCount.Size = new Size(
Scaling.Scale(pictureBoxFilesCount.Width),
Scaling.Scale(pictureBoxFilesCount.Height));
labelFoldersCount.Font = new Font("Segoe UI", 7F * Scaling.Factor, FontStyle.Bold, GraphicsUnit.Point, 0);
labelItems.Font = new Font("Segoe UI", 7F * Scaling.Factor, FontStyle.Bold, GraphicsUnit.Point, 0);
labelFilesCount.Font = new Font("Segoe UI", 7F * Scaling.Factor, FontStyle.Bold, GraphicsUnit.Point, 0);
// tableLayoutPanelDgvAndScrollbar.ResumeLayout(false);

View file

@ -18,8 +18,6 @@
components.Dispose();
}
drawTimer.Tick += DrawForm;
drawTimer.Dispose();
timerUpdateIcons.Stop();
timerUpdateIcons.Dispose();
fading.Dispose();
@ -40,31 +38,28 @@
this.tableLayoutPanelDgvAndScrollbar = new System.Windows.Forms.TableLayoutPanel();
this.dgv = new System.Windows.Forms.DataGridView();
this.tableLayoutPanelSearch = new System.Windows.Forms.TableLayoutPanel();
this.labelFilesCount = new System.Windows.Forms.Label();
this.textBoxSearch = new System.Windows.Forms.TextBox();
this.pictureBoxSearch = new System.Windows.Forms.PictureBox();
this.pictureBoxFilesCount = new System.Windows.Forms.PictureBox();
this.pictureBoxFoldersCount = new System.Windows.Forms.PictureBox();
this.labelFoldersCount = new System.Windows.Forms.Label();
this.labelFilesCount = new System.Windows.Forms.Label();
this.labelItems = new System.Windows.Forms.Label();
this.tableLayoutPanelMenu = new System.Windows.Forms.TableLayoutPanel();
this.tableLayoutPanelTitle = new System.Windows.Forms.TableLayoutPanel();
this.pictureBoxOpenFolder = new System.Windows.Forms.PictureBox();
this.pictureBoxMenuAlwaysOpen = new System.Windows.Forms.PictureBox();
this.pictureBoxSettings = new System.Windows.Forms.PictureBox();
this.panelLine = new System.Windows.Forms.Panel();
this.tableLayoutPanelBottom = new System.Windows.Forms.TableLayoutPanel();
this.pictureBoxRestart = new System.Windows.Forms.PictureBox();
this.pictureBoxSettings = new System.Windows.Forms.PictureBox();
this.pictureBoxMenuAlwaysOpen = new System.Windows.Forms.PictureBox();
this.pictureBoxOpenFolder = new System.Windows.Forms.PictureBox();
this.timerUpdateIcons = new System.Windows.Forms.Timer(this.components);
this.tableLayoutPanelDgvAndScrollbar.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgv)).BeginInit();
this.tableLayoutPanelSearch.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSearch)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxFilesCount)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxFoldersCount)).BeginInit();
this.tableLayoutPanelMenu.SuspendLayout();
this.tableLayoutPanelTitle.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxOpenFolder)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxMenuAlwaysOpen)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSettings)).BeginInit();
this.tableLayoutPanelBottom.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxRestart)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSettings)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxMenuAlwaysOpen)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxOpenFolder)).BeginInit();
this.SuspendLayout();
//
// tableLayoutPanelDgvAndScrollbar
@ -76,7 +71,7 @@
this.tableLayoutPanelDgvAndScrollbar.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelDgvAndScrollbar.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelDgvAndScrollbar.Controls.Add(this.dgv, 0, 0);
this.tableLayoutPanelDgvAndScrollbar.Location = new System.Drawing.Point(0, 22);
this.tableLayoutPanelDgvAndScrollbar.Location = new System.Drawing.Point(3, 25);
this.tableLayoutPanelDgvAndScrollbar.Margin = new System.Windows.Forms.Padding(0);
this.tableLayoutPanelDgvAndScrollbar.Name = "tableLayoutPanelDgvAndScrollbar";
this.tableLayoutPanelDgvAndScrollbar.RowCount = 1;
@ -123,39 +118,24 @@
this.tableLayoutPanelSearch.AutoSize = true;
this.tableLayoutPanelSearch.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.tableLayoutPanelSearch.BackColor = System.Drawing.Color.White;
this.tableLayoutPanelSearch.ColumnCount = 6;
this.tableLayoutPanelSearch.ColumnCount = 2;
this.tableLayoutPanelSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanelSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelSearch.Controls.Add(this.labelFilesCount, 5, 0);
this.tableLayoutPanelSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanelSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanelSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanelSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanelSearch.Controls.Add(this.textBoxSearch, 1, 0);
this.tableLayoutPanelSearch.Controls.Add(this.pictureBoxSearch, 0, 0);
this.tableLayoutPanelSearch.Controls.Add(this.pictureBoxFilesCount, 4, 0);
this.tableLayoutPanelSearch.Controls.Add(this.pictureBoxFoldersCount, 2, 0);
this.tableLayoutPanelSearch.Controls.Add(this.labelFoldersCount, 3, 0);
this.tableLayoutPanelSearch.Location = new System.Drawing.Point(0, 63);
this.tableLayoutPanelSearch.Margin = new System.Windows.Forms.Padding(0, 1, 0, 0);
this.tableLayoutPanelSearch.Location = new System.Drawing.Point(3, 0);
this.tableLayoutPanelSearch.Margin = new System.Windows.Forms.Padding(0);
this.tableLayoutPanelSearch.Name = "tableLayoutPanelSearch";
this.tableLayoutPanelSearch.RowCount = 1;
this.tableLayoutPanelSearch.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelSearch.Size = new System.Drawing.Size(129, 22);
this.tableLayoutPanelSearch.Size = new System.Drawing.Size(218, 22);
this.tableLayoutPanelSearch.TabIndex = 5;
this.tableLayoutPanelSearch.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.DgvMouseWheel);
//
// labelFilesCount
//
this.labelFilesCount.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.labelFilesCount.AutoSize = true;
this.labelFilesCount.Location = new System.Drawing.Point(104, 3);
this.labelFilesCount.Margin = new System.Windows.Forms.Padding(0);
this.labelFilesCount.Name = "labelFilesCount";
this.labelFilesCount.Size = new System.Drawing.Size(25, 15);
this.labelFilesCount.TabIndex = 2;
this.labelFilesCount.Text = "999";
//
// textBoxSearch
//
this.textBoxSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
@ -166,7 +146,7 @@
this.textBoxSearch.Margin = new System.Windows.Forms.Padding(3, 4, 3, 2);
this.textBoxSearch.MaxLength = 37;
this.textBoxSearch.Name = "textBoxSearch";
this.textBoxSearch.Size = new System.Drawing.Size(15, 15);
this.textBoxSearch.Size = new System.Drawing.Size(190, 15);
this.textBoxSearch.TabIndex = 0;
this.textBoxSearch.TextChanged += new System.EventHandler(this.TextBoxSearch_TextChanged);
//
@ -183,44 +163,30 @@
this.pictureBoxSearch.Paint += new System.Windows.Forms.PaintEventHandler(this.PictureBoxSearch_Paint);
this.pictureBoxSearch.Resize += new System.EventHandler(this.PictureBox_Resize);
//
// pictureBoxFilesCount
// labelFilesCount
//
this.pictureBoxFilesCount.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.pictureBoxFilesCount.BackColor = System.Drawing.Color.White;
this.pictureBoxFilesCount.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBoxFilesCount.Location = new System.Drawing.Point(86, 2);
this.pictureBoxFilesCount.Margin = new System.Windows.Forms.Padding(0);
this.pictureBoxFilesCount.Name = "pictureBoxFilesCount";
this.pictureBoxFilesCount.Size = new System.Drawing.Size(18, 18);
this.pictureBoxFilesCount.TabIndex = 1;
this.pictureBoxFilesCount.TabStop = false;
this.pictureBoxFilesCount.Paint += new System.Windows.Forms.PaintEventHandler(this.PictureBoxFilesCount_Paint);
this.pictureBoxFilesCount.Resize += new System.EventHandler(this.PictureBox_Resize);
this.labelFilesCount.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.labelFilesCount.AutoSize = true;
this.labelFilesCount.BackColor = System.Drawing.Color.Transparent;
this.labelFilesCount.ForeColor = System.Drawing.Color.White;
this.labelFilesCount.Location = new System.Drawing.Point(10, 3);
this.labelFilesCount.Margin = new System.Windows.Forms.Padding(0);
this.labelFilesCount.Name = "labelFilesCount";
this.labelFilesCount.Size = new System.Drawing.Size(25, 15);
this.labelFilesCount.TabIndex = 2;
this.labelFilesCount.Text = "999";
//
// pictureBoxFoldersCount
// labelItems
//
this.pictureBoxFoldersCount.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.pictureBoxFoldersCount.BackColor = System.Drawing.Color.White;
this.pictureBoxFoldersCount.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBoxFoldersCount.Location = new System.Drawing.Point(43, 2);
this.pictureBoxFoldersCount.Margin = new System.Windows.Forms.Padding(0);
this.pictureBoxFoldersCount.Name = "pictureBoxFoldersCount";
this.pictureBoxFoldersCount.Size = new System.Drawing.Size(18, 18);
this.pictureBoxFoldersCount.TabIndex = 1;
this.pictureBoxFoldersCount.TabStop = false;
this.pictureBoxFoldersCount.Paint += new System.Windows.Forms.PaintEventHandler(this.PictureBoxFoldersCount_Paint);
this.pictureBoxFoldersCount.Resize += new System.EventHandler(this.PictureBox_Resize);
//
// labelFoldersCount
//
this.labelFoldersCount.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.labelFoldersCount.AutoSize = true;
this.labelFoldersCount.Location = new System.Drawing.Point(61, 3);
this.labelFoldersCount.Margin = new System.Windows.Forms.Padding(0);
this.labelFoldersCount.Name = "labelFoldersCount";
this.labelFoldersCount.Size = new System.Drawing.Size(25, 15);
this.labelFoldersCount.TabIndex = 2;
this.labelFoldersCount.Text = "999";
this.labelItems.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.labelItems.AutoSize = true;
this.labelItems.ForeColor = System.Drawing.Color.White;
this.labelItems.Location = new System.Drawing.Point(35, 3);
this.labelItems.Margin = new System.Windows.Forms.Padding(0);
this.labelItems.Name = "labelItems";
this.labelItems.Size = new System.Drawing.Size(61, 15);
this.labelItems.TabIndex = 2;
this.labelItems.Text = "labelItems";
//
// tableLayoutPanelMenu
//
@ -228,84 +194,87 @@
this.tableLayoutPanelMenu.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.tableLayoutPanelMenu.ColumnCount = 1;
this.tableLayoutPanelMenu.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelMenu.Controls.Add(this.tableLayoutPanelTitle, 0, 0);
this.tableLayoutPanelMenu.Controls.Add(this.tableLayoutPanelSearch, 0, 2);
this.tableLayoutPanelMenu.Controls.Add(this.tableLayoutPanelDgvAndScrollbar, 0, 1);
this.tableLayoutPanelMenu.Location = new System.Drawing.Point(4, 4);
this.tableLayoutPanelMenu.Controls.Add(this.tableLayoutPanelSearch, 0, 1);
this.tableLayoutPanelMenu.Controls.Add(this.panelLine, 0, 2);
this.tableLayoutPanelMenu.Controls.Add(this.tableLayoutPanelBottom, 0, 6);
this.tableLayoutPanelMenu.Controls.Add(this.tableLayoutPanelDgvAndScrollbar, 0, 4);
this.tableLayoutPanelMenu.Location = new System.Drawing.Point(1, 1);
this.tableLayoutPanelMenu.Margin = new System.Windows.Forms.Padding(0);
this.tableLayoutPanelMenu.Name = "tableLayoutPanelMenu";
this.tableLayoutPanelMenu.RowCount = 3;
this.tableLayoutPanelMenu.Padding = new System.Windows.Forms.Padding(3, 0, 3, 0);
this.tableLayoutPanelMenu.RowCount = 7;
this.tableLayoutPanelMenu.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelMenu.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelMenu.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 1F));
this.tableLayoutPanelMenu.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 2F));
this.tableLayoutPanelMenu.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelMenu.Size = new System.Drawing.Size(129, 85);
this.tableLayoutPanelMenu.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 2F));
this.tableLayoutPanelMenu.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelMenu.Size = new System.Drawing.Size(224, 89);
this.tableLayoutPanelMenu.TabIndex = 4;
this.tableLayoutPanelMenu.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.DgvMouseWheel);
//
// tableLayoutPanelTitle
// panelLine
//
this.tableLayoutPanelTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.tableLayoutPanelTitle.AutoSize = true;
this.tableLayoutPanelTitle.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.tableLayoutPanelTitle.ColumnCount = 5;
this.tableLayoutPanelTitle.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelTitle.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanelTitle.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelTitle.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelTitle.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelTitle.Controls.Add(this.pictureBoxOpenFolder, 0, 0);
this.tableLayoutPanelTitle.Controls.Add(this.pictureBoxMenuAlwaysOpen, 2, 0);
this.tableLayoutPanelTitle.Controls.Add(this.pictureBoxSettings, 3, 0);
this.tableLayoutPanelTitle.Controls.Add(this.pictureBoxRestart, 4, 0);
this.tableLayoutPanelTitle.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanelTitle.Margin = new System.Windows.Forms.Padding(0);
this.tableLayoutPanelTitle.Name = "tableLayoutPanelTitle";
this.tableLayoutPanelTitle.RowCount = 1;
this.tableLayoutPanelTitle.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelTitle.Size = new System.Drawing.Size(129, 22);
this.tableLayoutPanelTitle.TabIndex = 5;
this.tableLayoutPanelTitle.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Menu_MouseDown);
this.tableLayoutPanelTitle.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Menu_MouseMove);
this.tableLayoutPanelTitle.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Menu_MouseUp);
this.panelLine.BackColor = System.Drawing.Color.Silver;
this.panelLine.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelLine.Location = new System.Drawing.Point(3, 22);
this.panelLine.Margin = new System.Windows.Forms.Padding(0);
this.panelLine.Name = "panelLine";
this.panelLine.Size = new System.Drawing.Size(218, 1);
this.panelLine.TabIndex = 6;
//
// pictureBoxOpenFolder
// tableLayoutPanelBottom
//
this.pictureBoxOpenFolder.BackColor = System.Drawing.Color.Transparent;
this.pictureBoxOpenFolder.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBoxOpenFolder.Location = new System.Drawing.Point(1, 1);
this.pictureBoxOpenFolder.Margin = new System.Windows.Forms.Padding(1);
this.pictureBoxOpenFolder.Name = "pictureBoxOpenFolder";
this.pictureBoxOpenFolder.Size = new System.Drawing.Size(20, 20);
this.pictureBoxOpenFolder.TabIndex = 1;
this.pictureBoxOpenFolder.TabStop = false;
this.pictureBoxOpenFolder.Paint += new System.Windows.Forms.PaintEventHandler(this.PictureBoxOpenFolder_Paint);
this.pictureBoxOpenFolder.MouseClick += new System.Windows.Forms.MouseEventHandler(this.PictureBoxOpenFolder_Click);
this.pictureBoxOpenFolder.MouseEnter += new System.EventHandler(this.PictureBox_MouseEnter);
this.pictureBoxOpenFolder.MouseLeave += new System.EventHandler(this.PictureBox_MouseLeave);
this.pictureBoxOpenFolder.Resize += new System.EventHandler(this.PictureBox_Resize);
this.tableLayoutPanelBottom.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.tableLayoutPanelBottom.AutoSize = true;
this.tableLayoutPanelBottom.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.tableLayoutPanelBottom.BackColor = System.Drawing.Color.Transparent;
this.tableLayoutPanelBottom.ColumnCount = 9;
this.tableLayoutPanelBottom.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 10F));
this.tableLayoutPanelBottom.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelBottom.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelBottom.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanelBottom.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelBottom.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelBottom.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelBottom.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelBottom.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 10F));
this.tableLayoutPanelBottom.Controls.Add(this.pictureBoxRestart, 7, 0);
this.tableLayoutPanelBottom.Controls.Add(this.pictureBoxSettings, 6, 0);
this.tableLayoutPanelBottom.Controls.Add(this.pictureBoxMenuAlwaysOpen, 5, 0);
this.tableLayoutPanelBottom.Controls.Add(this.pictureBoxOpenFolder, 4, 0);
this.tableLayoutPanelBottom.Controls.Add(this.labelFilesCount, 1, 0);
this.tableLayoutPanelBottom.Controls.Add(this.labelItems, 2, 0);
this.tableLayoutPanelBottom.Location = new System.Drawing.Point(3, 67);
this.tableLayoutPanelBottom.Margin = new System.Windows.Forms.Padding(0);
this.tableLayoutPanelBottom.Name = "tableLayoutPanelBottom";
this.tableLayoutPanelBottom.RowCount = 1;
this.tableLayoutPanelBottom.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelBottom.Size = new System.Drawing.Size(218, 22);
this.tableLayoutPanelBottom.TabIndex = 5;
//
// pictureBoxMenuAlwaysOpen
// pictureBoxRestart
//
this.pictureBoxMenuAlwaysOpen.BackColor = System.Drawing.Color.Transparent;
this.pictureBoxMenuAlwaysOpen.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBoxMenuAlwaysOpen.Location = new System.Drawing.Point(64, 1);
this.pictureBoxMenuAlwaysOpen.Margin = new System.Windows.Forms.Padding(1);
this.pictureBoxMenuAlwaysOpen.Name = "pictureBoxMenuAlwaysOpen";
this.pictureBoxMenuAlwaysOpen.Size = new System.Drawing.Size(20, 20);
this.pictureBoxMenuAlwaysOpen.TabIndex = 1;
this.pictureBoxMenuAlwaysOpen.TabStop = false;
this.pictureBoxMenuAlwaysOpen.Click += new System.EventHandler(this.PictureBoxMenuAlwaysOpen_Click);
this.pictureBoxMenuAlwaysOpen.Paint += new System.Windows.Forms.PaintEventHandler(this.PictureBoxMenuAlwaysOpen_Paint);
this.pictureBoxMenuAlwaysOpen.DoubleClick += new System.EventHandler(this.PictureBoxMenuAlwaysOpen_Click);
this.pictureBoxMenuAlwaysOpen.MouseEnter += new System.EventHandler(this.PictureBox_MouseEnter);
this.pictureBoxMenuAlwaysOpen.MouseLeave += new System.EventHandler(this.PictureBox_MouseLeave);
this.pictureBoxMenuAlwaysOpen.Resize += new System.EventHandler(this.PictureBox_Resize);
this.pictureBoxRestart.BackColor = System.Drawing.Color.Transparent;
this.pictureBoxRestart.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBoxRestart.Location = new System.Drawing.Point(187, 1);
this.pictureBoxRestart.Margin = new System.Windows.Forms.Padding(1);
this.pictureBoxRestart.Name = "pictureBoxRestart";
this.pictureBoxRestart.Size = new System.Drawing.Size(20, 20);
this.pictureBoxRestart.TabIndex = 3;
this.pictureBoxRestart.TabStop = false;
this.pictureBoxRestart.Paint += new System.Windows.Forms.PaintEventHandler(this.PictureBoxRestart_Paint);
this.pictureBoxRestart.MouseClick += new System.Windows.Forms.MouseEventHandler(this.PictureBoxRestart_MouseClick);
this.pictureBoxRestart.MouseEnter += new System.EventHandler(this.PictureBox_MouseEnter);
this.pictureBoxRestart.MouseLeave += new System.EventHandler(this.PictureBox_MouseLeave);
this.pictureBoxRestart.Resize += new System.EventHandler(this.PictureBox_Resize);
//
// pictureBoxSettings
//
this.pictureBoxSettings.BackColor = System.Drawing.Color.Transparent;
this.pictureBoxSettings.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBoxSettings.Location = new System.Drawing.Point(86, 1);
this.pictureBoxSettings.Location = new System.Drawing.Point(165, 1);
this.pictureBoxSettings.Margin = new System.Windows.Forms.Padding(1);
this.pictureBoxSettings.Name = "pictureBoxSettings";
this.pictureBoxSettings.Size = new System.Drawing.Size(20, 20);
@ -317,21 +286,39 @@
this.pictureBoxSettings.MouseLeave += new System.EventHandler(this.PictureBox_MouseLeave);
this.pictureBoxSettings.Resize += new System.EventHandler(this.PictureBox_Resize);
//
// pictureBoxRestart
// pictureBoxMenuAlwaysOpen
//
this.pictureBoxRestart.BackColor = System.Drawing.Color.Transparent;
this.pictureBoxRestart.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBoxRestart.Location = new System.Drawing.Point(108, 1);
this.pictureBoxRestart.Margin = new System.Windows.Forms.Padding(1);
this.pictureBoxRestart.Name = "pictureBoxRestart";
this.pictureBoxRestart.Size = new System.Drawing.Size(20, 20);
this.pictureBoxRestart.TabIndex = 3;
this.pictureBoxRestart.TabStop = false;
this.pictureBoxRestart.Paint += new System.Windows.Forms.PaintEventHandler(this.PictureBoxRestart_Paint);
this.pictureBoxRestart.MouseClick += new System.Windows.Forms.MouseEventHandler(this.PictureBoxRestart_MouseClick);
this.pictureBoxRestart.MouseEnter += new System.EventHandler(this.PictureBox_MouseEnter);
this.pictureBoxRestart.MouseLeave += new System.EventHandler(this.PictureBox_MouseLeave);
this.pictureBoxRestart.Resize += new System.EventHandler(this.PictureBox_Resize);
this.pictureBoxMenuAlwaysOpen.BackColor = System.Drawing.Color.Transparent;
this.pictureBoxMenuAlwaysOpen.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBoxMenuAlwaysOpen.Location = new System.Drawing.Point(143, 1);
this.pictureBoxMenuAlwaysOpen.Margin = new System.Windows.Forms.Padding(1);
this.pictureBoxMenuAlwaysOpen.Name = "pictureBoxMenuAlwaysOpen";
this.pictureBoxMenuAlwaysOpen.Size = new System.Drawing.Size(20, 20);
this.pictureBoxMenuAlwaysOpen.TabIndex = 1;
this.pictureBoxMenuAlwaysOpen.TabStop = false;
this.pictureBoxMenuAlwaysOpen.Click += new System.EventHandler(this.PictureBoxMenuAlwaysOpen_Click);
this.pictureBoxMenuAlwaysOpen.Paint += new System.Windows.Forms.PaintEventHandler(this.PictureBoxMenuAlwaysOpen_Paint);
this.pictureBoxMenuAlwaysOpen.DoubleClick += new System.EventHandler(this.PictureBoxMenuAlwaysOpen_Click);
this.pictureBoxMenuAlwaysOpen.MouseEnter += new System.EventHandler(this.PictureBox_MouseEnter);
this.pictureBoxMenuAlwaysOpen.MouseLeave += new System.EventHandler(this.PictureBox_MouseLeave);
this.pictureBoxMenuAlwaysOpen.Resize += new System.EventHandler(this.PictureBox_Resize);
//
// pictureBoxOpenFolder
//
this.pictureBoxOpenFolder.BackColor = System.Drawing.Color.Transparent;
this.pictureBoxOpenFolder.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBoxOpenFolder.Location = new System.Drawing.Point(121, 1);
this.pictureBoxOpenFolder.Margin = new System.Windows.Forms.Padding(1);
this.pictureBoxOpenFolder.Name = "pictureBoxOpenFolder";
this.pictureBoxOpenFolder.Size = new System.Drawing.Size(20, 20);
this.pictureBoxOpenFolder.TabIndex = 1;
this.pictureBoxOpenFolder.TabStop = false;
this.pictureBoxOpenFolder.Paint += new System.Windows.Forms.PaintEventHandler(this.PictureBoxOpenFolder_Paint);
this.pictureBoxOpenFolder.MouseClick += new System.Windows.Forms.MouseEventHandler(this.PictureBoxOpenFolder_Click);
this.pictureBoxOpenFolder.MouseEnter += new System.EventHandler(this.PictureBox_MouseEnter);
this.pictureBoxOpenFolder.MouseLeave += new System.EventHandler(this.PictureBox_MouseLeave);
this.pictureBoxOpenFolder.Resize += new System.EventHandler(this.PictureBox_Resize);
//
// Controls like the scrollbar are removed when open the designer
// When adding after InitializeComponent(), then e.g. scrollbar on high dpi not more working
@ -353,7 +340,8 @@
this.Controls.Add(this.tableLayoutPanelMenu);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "Menu";
this.Padding = new System.Windows.Forms.Padding(4);
this.Opacity = 0.01D;
this.Padding = new System.Windows.Forms.Padding(1);
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Text = "SystemTrayMenu";
@ -363,15 +351,14 @@
this.tableLayoutPanelSearch.ResumeLayout(false);
this.tableLayoutPanelSearch.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSearch)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxFilesCount)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxFoldersCount)).EndInit();
this.tableLayoutPanelMenu.ResumeLayout(false);
this.tableLayoutPanelMenu.PerformLayout();
this.tableLayoutPanelTitle.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBoxOpenFolder)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxMenuAlwaysOpen)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSettings)).EndInit();
this.tableLayoutPanelBottom.ResumeLayout(false);
this.tableLayoutPanelBottom.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxRestart)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSettings)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxMenuAlwaysOpen)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxOpenFolder)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@ -388,15 +375,14 @@
private System.Windows.Forms.PictureBox pictureBoxSearch;
private UserInterface.CustomScrollbar customScrollbar;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelMenu;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelTitle;
private System.Windows.Forms.PictureBox pictureBoxOpenFolder;
private System.Windows.Forms.PictureBox pictureBoxMenuAlwaysOpen;
private System.Windows.Forms.Label labelFilesCount;
private System.Windows.Forms.PictureBox pictureBoxFilesCount;
private System.Windows.Forms.PictureBox pictureBoxFoldersCount;
private System.Windows.Forms.Label labelFoldersCount;
private System.Windows.Forms.Label labelItems;
private System.Windows.Forms.Timer timerUpdateIcons;
private System.Windows.Forms.PictureBox pictureBoxSettings;
private System.Windows.Forms.PictureBox pictureBoxRestart;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelBottom;
private System.Windows.Forms.Panel panelLine;
}
}

View file

@ -7,11 +7,8 @@ namespace SystemTrayMenu.UserInterface
using System;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Globalization;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using SystemTrayMenu.DataClasses;
using SystemTrayMenu.DllImports;
@ -20,15 +17,13 @@ namespace SystemTrayMenu.UserInterface
internal partial class Menu : Form
{
private const int CornerRadius = 8;
private const int CornerRadius = 20;
private readonly Fading fading = new();
private bool isShowing;
private bool directionToRight;
private int rotationAngle;
private bool mouseDown;
private Point lastLocation;
private double opacity;
private Timer drawTimer = new();
internal Menu()
{
@ -37,7 +32,7 @@ namespace SystemTrayMenu.UserInterface
{
if (!IsDisposed && !Disposing)
{
opacity = newOpacity;
Opacity = newOpacity;
}
}
@ -85,7 +80,6 @@ namespace SystemTrayMenu.UserInterface
SetDoubleBuffer(dgv, true);
Color foreColor = Color.Black;
Color titleBackColor = AppColors.Title;
Color backColor = AppColors.Background;
Color backColorSearch = AppColors.SearchField;
Color backgroundBorder = AppColors.BackgroundBorder;
@ -95,14 +89,13 @@ namespace SystemTrayMenu.UserInterface
foreColor = Color.White;
labelTitle.ForeColor = foreColor;
textBoxSearch.ForeColor = foreColor;
titleBackColor = AppColors.DarkModeTitle;
backColor = AppColors.DarkModeBackground;
backColorSearch = AppColors.DarkModeSearchField;
backgroundBorder = AppColors.DarkModeBackgroundBorder;
}
ColorConverter colorConverter = new();
labelFoldersCount.ForeColor = MenuDefines.ColorIcons;
labelItems.ForeColor = MenuDefines.ColorIcons;
labelFilesCount.ForeColor = MenuDefines.ColorIcons;
if (backColor.R == 0)
@ -111,13 +104,14 @@ namespace SystemTrayMenu.UserInterface
}
BackColor = backgroundBorder;
tableLayoutPanelTitle.BackColor = titleBackColor;
labelTitle.BackColor = backColor;
tableLayoutPanelDgvAndScrollbar.BackColor = backColor;
tableLayoutPanelBottom.BackColor = backColor;
tableLayoutPanelMenu.BackColor = backColor;
dgv.BackgroundColor = backColor;
textBoxSearch.BackColor = backColorSearch;
panelLine.BackColor = AppColors.Icons;
pictureBoxSearch.BackColor = backColorSearch;
pictureBoxFoldersCount.BackColor = backColorSearch;
pictureBoxFilesCount.BackColor = backColorSearch;
tableLayoutPanelSearch.BackColor = backColorSearch;
dgv.DefaultCellStyle = new DataGridViewCellStyle
{
@ -150,11 +144,11 @@ namespace SystemTrayMenu.UserInterface
pictureBoxSettings.MouseEnter += ControlsMouseEnter;
pictureBoxRestart.MouseEnter += ControlsMouseEnter;
pictureBoxSearch.MouseEnter += ControlsMouseEnter;
pictureBoxFilesCount.MouseEnter += ControlsMouseEnter;
pictureBoxFoldersCount.MouseEnter += ControlsMouseEnter;
tableLayoutPanelMenu.MouseEnter += ControlsMouseEnter;
tableLayoutPanelDgvAndScrollbar.MouseEnter += ControlsMouseEnter;
tableLayoutPanelBottom.MouseEnter += ControlsMouseEnter;
labelFilesCount.MouseEnter += ControlsMouseEnter;
labelFoldersCount.MouseEnter += ControlsMouseEnter;
labelItems.MouseEnter += ControlsMouseEnter;
void ControlsMouseEnter(object sender, EventArgs e)
{
MouseEnter?.Invoke();
@ -169,10 +163,11 @@ namespace SystemTrayMenu.UserInterface
pictureBoxSettings.MouseLeave += ControlsMouseLeave;
pictureBoxRestart.MouseLeave += ControlsMouseLeave;
pictureBoxSearch.MouseLeave += ControlsMouseLeave;
pictureBoxFilesCount.MouseLeave += ControlsMouseLeave;
pictureBoxFoldersCount.MouseLeave += ControlsMouseLeave;
tableLayoutPanelMenu.MouseLeave += ControlsMouseLeave;
tableLayoutPanelDgvAndScrollbar.MouseLeave += ControlsMouseLeave;
tableLayoutPanelBottom.MouseLeave += ControlsMouseLeave;
labelFilesCount.MouseLeave += ControlsMouseLeave;
labelFoldersCount.MouseLeave += ControlsMouseLeave;
labelItems.MouseLeave += ControlsMouseLeave;
void ControlsMouseLeave(object sender, EventArgs e)
{
MouseLeave?.Invoke();
@ -219,36 +214,20 @@ namespace SystemTrayMenu.UserInterface
internal int Level { get; set; }
internal bool IsUsable => Visible && !fading.IsHiding &&
!IsDisposed && !Disposing;
internal bool IsUsable => Visible && !fading.IsHiding && !IsDisposed && !Disposing;
protected override CreateParams CreateParams
{
get
{
CreateParams createparams = base.CreateParams;
createparams.ExStyle |= 0x80;
if (!DesignMode)
{
createparams.ExStyle |= 0x00080000;
}
createparams.ExStyle |= 0x80; // do not show when user presses alt + tab
createparams.ClassStyle |= 0x00020000; // CS_DROPSHADOW
return createparams;
}
}
protected override void OnLoad(EventArgs e)
{
if (!DesignMode)
{
drawTimer.Interval = 1000 / 60;
drawTimer.Tick += DrawForm;
drawTimer.Start();
}
base.OnLoad(e);
}
internal void ResetSearchText()
{
textBoxSearch.Text = string.Empty;
@ -284,7 +263,6 @@ namespace SystemTrayMenu.UserInterface
{
if (type != MenuType.Main)
{
pictureBoxMenuAlwaysOpen.Visible = false;
pictureBoxSettings.Visible = false;
pictureBoxRestart.Visible = false;
}
@ -294,26 +272,32 @@ namespace SystemTrayMenu.UserInterface
case MenuType.Main:
break;
case MenuType.Sub:
pictureBoxMenuAlwaysOpen.Visible = false;
break;
case MenuType.Empty:
SetTitle(Translator.GetText("Folder empty"));
labelTitle.BackColor = MenuDefines.ColorTitleWarning;
pictureBoxSearch.Visible = false;
textBoxSearch.Visible = false;
tableLayoutPanelSearch.Visible = false;
pictureBoxSearch.Visible = true;
textBoxSearch.Visible = true;
tableLayoutPanelSearch.Visible = true;
labelFilesCount.Visible = false;
labelItems.Text = Translator.GetText("Folder empty");
pictureBoxMenuAlwaysOpen.Visible = false;
break;
case MenuType.NoAccess:
SetTitle(Translator.GetText("Folder inaccessible"));
labelTitle.BackColor = MenuDefines.ColorTitleWarning;
pictureBoxSearch.Visible = false;
textBoxSearch.Visible = false;
tableLayoutPanelSearch.Visible = false;
pictureBoxSearch.Visible = true;
textBoxSearch.Visible = true;
tableLayoutPanelSearch.Visible = true;
labelFilesCount.Visible = false;
labelItems.Text = Translator.GetText("Folder inaccessible");
pictureBoxMenuAlwaysOpen.Visible = false;
break;
case MenuType.Loading:
SetTitle(Translator.GetText("loading"));
pictureBoxSearch.Visible = false;
textBoxSearch.Visible = false;
tableLayoutPanelSearch.Visible = false;
pictureBoxSearch.Visible = true;
textBoxSearch.Visible = true;
tableLayoutPanelSearch.Visible = true;
labelFilesCount.Visible = false;
labelItems.Text = Translator.GetText("loading");
pictureBoxMenuAlwaysOpen.Visible = true;
textBoxSearch.TextChanged -= TextBoxSearch_TextChanged;
pictureBoxOpenFolder.Visible = false;
pictureBoxMenuAlwaysOpen.Paint -= PictureBoxMenuAlwaysOpen_Paint;
pictureBoxMenuAlwaysOpen.Paint += LoadingMenu_Paint;
@ -326,6 +310,16 @@ namespace SystemTrayMenu.UserInterface
}
}
internal string GetSearchText()
{
return textBoxSearch.Text;
}
internal void SetSearchText(string userSearchText)
{
textBoxSearch.Text = userSearchText;
}
internal bool IsMouseOn(Point mousePosition)
{
bool isMouseOn = Visible && ClientRectangle.Contains(
@ -403,9 +397,7 @@ namespace SystemTrayMenu.UserInterface
// Ignore start as we use predecessor
startLocation = StartLocation.Predecessor;
}
else if (useCustomLocation &&
Properties.Settings.Default.CustomLocationX > 0 &&
Properties.Settings.Default.CustomLocationY > 0)
else if (useCustomLocation)
{
// Do not adjust location again because Cursor.Postion changed
if (Tag != null)
@ -485,7 +477,6 @@ namespace SystemTrayMenu.UserInterface
if (menuPredecessor == this && directionToRight)
{
x -= Width;
directionToRight = false;
}
// Calculate Y position
@ -510,7 +501,9 @@ namespace SystemTrayMenu.UserInterface
// when warning the title should appear in same height as selected row
if (!tableLayoutPanelSearch.Visible)
{
y += tableLayoutPanelTitle.Height;
TableLayoutPanelCellPosition pos = tableLayoutPanelMenu.GetCellPosition(labelTitle);
int height = tableLayoutPanelMenu.GetRowHeights()[pos.Row];
y += height;
}
// Move vertically when out of bounds
@ -535,15 +528,10 @@ namespace SystemTrayMenu.UserInterface
if (Properties.Settings.Default.RoundCorners)
{
if (NativeMethods.GetRegionRoundCorners(Width + 1, Height + 1, 15, 15, out Region regionOutline))
if (NativeMethods.GetRegionRoundCorners(Width + 2, Height + 2, CornerRadius, CornerRadius, out Region regionOutline))
{
Region = regionOutline;
}
if (NativeMethods.GetRegionRoundCorners(Width - 1, Height - 1, 15, 15, out Region region))
{
tableLayoutPanelMenu.Region = region;
}
}
}
@ -565,8 +553,16 @@ namespace SystemTrayMenu.UserInterface
internal void SetCounts(int foldersCount, int filesCount)
{
labelFoldersCount.Text = foldersCount.ToString();
labelFilesCount.Text = filesCount.ToString();
int filesAndFoldersCount = foldersCount + filesCount;
labelFilesCount.Text = filesAndFoldersCount.ToString();
if (filesAndFoldersCount == 1)
{
labelItems.Text = Translator.GetText("Item");
}
else
{
labelItems.Text = Translator.GetText("Items");
}
}
protected override bool ProcessCmdKey(ref Message msg, Keys keys)
@ -592,57 +588,6 @@ namespace SystemTrayMenu.UserInterface
return base.ProcessCmdKey(ref msg, keys);
}
protected override void OnPaint(PaintEventArgs e)
{
if (DesignMode)
{
Graphics graphics = e.Graphics;
Rectangle gradientRectangle = new(0, 0, this.Width - 1, this.Height - 1);
Brush b = new LinearGradientBrush(gradientRectangle, AppColors.DarkModeBackground, AppColors.DarkModeBackground, 0.0f);
graphics.SmoothingMode = SmoothingMode.HighQuality;
RoundedRectangle.FillRoundedRectangle(graphics, b, gradientRectangle, CornerRadius);
}
base.OnPaint(e);
}
private void DrawForm(object pSender, EventArgs pE)
{
using (Bitmap backImage = new(this.Width, this.Height))
{
using (Graphics graphics = Graphics.FromImage(backImage))
{
Rectangle gradientRectangle = new(0, 0, this.Width - 1, this.Height - 1);
using (Brush b = new LinearGradientBrush(gradientRectangle, AppColors.DarkModeBackground, AppColors.DarkModeBackground, 0.0f))
{
graphics.SmoothingMode = SmoothingMode.HighQuality;
RoundedRectangle.FillRoundedRectangle(graphics, b, gradientRectangle, CornerRadius);
foreach (Control ctrl in this.Controls)
{
using (Bitmap bmp = new(ctrl.Width, ctrl.Height))
{
Rectangle rect = new(0, 0, ctrl.Width, ctrl.Height);
ctrl.DrawToBitmap(bmp, rect);
graphics.DrawImage(bmp, ctrl.Location);
}
}
try
{
PerPixelAlphaBlend.SetBitmap(backImage, Left, Top, Handle, opacity);
}
catch { }; //todo disposed exception
}
}
}
}
private static void SetDoubleBuffer(Control ctl, bool doubleBuffered)
{
typeof(Control).InvokeMember(
@ -738,10 +683,10 @@ namespace SystemTrayMenu.UserInterface
widthScrollbar = customScrollbar.Width;
}
if (tableLayoutPanelTitle.Width > (widthIcon + widthText + widthScrollbar))
if (tableLayoutPanelBottom.Width > (widthIcon + widthText + widthScrollbar))
{
dgv.Width = tableLayoutPanelTitle.Width - widthScrollbar;
dgv.Columns[1].Width = tableLayoutPanelTitle.Width - widthIcon - widthScrollbar;
dgv.Width = tableLayoutPanelBottom.Width - widthScrollbar;
dgv.Columns[1].Width = tableLayoutPanelBottom.Width - widthIcon - widthScrollbar;
}
else
{
@ -1036,9 +981,12 @@ namespace SystemTrayMenu.UserInterface
private void Menu_MouseDown(object sender, MouseEventArgs e)
{
mouseDown = true;
lastLocation = e.Location;
UserDragsMenu.Invoke();
if (Level == 0)
{
mouseDown = true;
lastLocation = e.Location;
UserDragsMenu.Invoke();
}
}
private void Menu_MouseMove(object sender, MouseEventArgs e)

View file

@ -156,10 +156,6 @@ namespace SystemTrayMenu.UserInterface
this.pictureBoxSelectedItemBorderDarkMode = new System.Windows.Forms.PictureBox();
this.labelSelectedItemBorderDarkMode = new System.Windows.Forms.Label();
this.textBoxColorSelectedItemBorderDarkMode = new System.Windows.Forms.TextBox();
this.tableLayoutPanelWarningDarkMode = new System.Windows.Forms.TableLayoutPanel();
this.pictureBoxWarningDarkMode = new System.Windows.Forms.PictureBox();
this.labelWarningDarkMode = new System.Windows.Forms.Label();
this.textBoxColorWarningDarkMode = new System.Windows.Forms.TextBox();
this.labelScrollbarDarkMode = new System.Windows.Forms.Label();
this.tableLayoutPanelScrollbarBackgroundDarkMode = new System.Windows.Forms.TableLayoutPanel();
this.pictureBoxScrollbarBackgroundDarkMode = new System.Windows.Forms.PictureBox();
@ -202,10 +198,6 @@ namespace SystemTrayMenu.UserInterface
this.textBoxColorArrowHoverBackgroundDarkMode = new System.Windows.Forms.TextBox();
this.labelColorDarkModeArrowHoverBackground = new System.Windows.Forms.Label();
this.buttonColorsDefaultDarkMode = new System.Windows.Forms.Button();
this.tableLayoutPanelTitleDarkMode = new System.Windows.Forms.TableLayoutPanel();
this.pictureBoxTitleDarkMode = new System.Windows.Forms.PictureBox();
this.labelTitleDarkMode = new System.Windows.Forms.Label();
this.textBoxColorTitleDarkMode = new System.Windows.Forms.TextBox();
this.tableLayoutPanelBackgroundDarkMode = new System.Windows.Forms.TableLayoutPanel();
this.pictureBoxBackgroundDarkMode = new System.Windows.Forms.PictureBox();
this.labelBackgroundDarkMode = new System.Windows.Forms.Label();
@ -221,10 +213,6 @@ namespace SystemTrayMenu.UserInterface
this.textBoxColorBackgroundBorder = new System.Windows.Forms.TextBox();
this.labelBackgroundBorder = new System.Windows.Forms.Label();
this.labelMenuLightMode = new System.Windows.Forms.Label();
this.tableLayoutPanelTitle = new System.Windows.Forms.TableLayoutPanel();
this.pictureBoxTitle = new System.Windows.Forms.PictureBox();
this.textBoxColorTitle = new System.Windows.Forms.TextBox();
this.labelTitle = new System.Windows.Forms.Label();
this.tableLayoutPanelBackground = new System.Windows.Forms.TableLayoutPanel();
this.pictureBoxBackground = new System.Windows.Forms.PictureBox();
this.textBoxColorBackground = new System.Windows.Forms.TextBox();
@ -271,10 +259,6 @@ namespace SystemTrayMenu.UserInterface
this.textBoxColorScrollbarBackground = new System.Windows.Forms.TextBox();
this.labelScrollbarBackground = new System.Windows.Forms.Label();
this.labelScrollbarLightMode = new System.Windows.Forms.Label();
this.tableLayoutPanelWarning = new System.Windows.Forms.TableLayoutPanel();
this.labelWarning = new System.Windows.Forms.Label();
this.textBoxColorWarning = new System.Windows.Forms.TextBox();
this.pictureBoxWarning = new System.Windows.Forms.PictureBox();
this.tableLayoutPanelSelectedItemBorder = new System.Windows.Forms.TableLayoutPanel();
this.pictureBoxSelectedItemBorder = new System.Windows.Forms.PictureBox();
this.textBoxColorSelectedItemBorder = new System.Windows.Forms.TextBox();
@ -373,8 +357,6 @@ namespace SystemTrayMenu.UserInterface
((System.ComponentModel.ISupportInitialize)(this.pictureColorBoxSelectedItemDarkMode)).BeginInit();
this.tableLayoutPanelSelectedItemBorderDarkMode.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSelectedItemBorderDarkMode)).BeginInit();
this.tableLayoutPanelWarningDarkMode.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWarningDarkMode)).BeginInit();
this.tableLayoutPanelScrollbarBackgroundDarkMode.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxScrollbarBackgroundDarkMode)).BeginInit();
this.tableLayoutPanelSliderDarkMode.SuspendLayout();
@ -395,8 +377,6 @@ namespace SystemTrayMenu.UserInterface
((System.ComponentModel.ISupportInitialize)(this.pictureBoxArrowHoverDarkMode)).BeginInit();
this.tableLayoutPanelArrowHoverBackgroundDarkMode.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxArrowHoverBackgroundDarkMode)).BeginInit();
this.tableLayoutPanelTitleDarkMode.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxTitleDarkMode)).BeginInit();
this.tableLayoutPanelBackgroundDarkMode.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBackgroundDarkMode)).BeginInit();
this.groupBoxColorsLightMode.SuspendLayout();
@ -405,8 +385,6 @@ namespace SystemTrayMenu.UserInterface
((System.ComponentModel.ISupportInitialize)(this.pictureBoxIcons)).BeginInit();
this.tableLayoutPanelBackgroundBorder.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBackgroundBorder)).BeginInit();
this.tableLayoutPanelTitle.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxTitle)).BeginInit();
this.tableLayoutPanelBackground.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBackground)).BeginInit();
this.tableLayoutPanelArrowHoverBackground.SuspendLayout();
@ -429,8 +407,6 @@ namespace SystemTrayMenu.UserInterface
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSlider)).BeginInit();
this.tableLayoutPanelScrollbarBackground.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxScrollbarBackground)).BeginInit();
this.tableLayoutPanelWarning.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWarning)).BeginInit();
this.tableLayoutPanelSelectedItemBorder.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSelectedItemBorder)).BeginInit();
this.tableLayoutPanelSelectedItem.SuspendLayout();
@ -1794,7 +1770,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, 1416);
this.tableLayoutPanelCustomize.Size = new System.Drawing.Size(391, 1300);
this.tableLayoutPanelCustomize.TabIndex = 0;
//
// groupBoxColorsDarkMode
@ -1802,11 +1778,11 @@ 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, 750);
this.groupBoxColorsDarkMode.Location = new System.Drawing.Point(3, 692);
this.groupBoxColorsDarkMode.MaximumSize = new System.Drawing.Size(385, 0);
this.groupBoxColorsDarkMode.MinimumSize = new System.Drawing.Size(385, 0);
this.groupBoxColorsDarkMode.Name = "groupBoxColorsDarkMode";
this.groupBoxColorsDarkMode.Size = new System.Drawing.Size(385, 663);
this.groupBoxColorsDarkMode.Size = new System.Drawing.Size(385, 605);
this.groupBoxColorsDarkMode.TabIndex = 0;
this.groupBoxColorsDarkMode.TabStop = false;
this.groupBoxColorsDarkMode.Text = "groupBoxColorsDarkMode";
@ -1817,33 +1793,31 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelDarkMode.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.tableLayoutPanelDarkMode.ColumnCount = 1;
this.tableLayoutPanelDarkMode.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 444F));
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelColorIconsDarkMode, 0, 3);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelColorBackgroundBorderDarkMode, 0, 5);
this.tableLayoutPanelDarkMode.Controls.Add(this.labelMenuDarkMode, 0, 1);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelSearchFieldDarkMode, 0, 6);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelOpenFolderDarkMode, 0, 7);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelOpenFolderBorderDarkMode, 0, 8);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelSelectedItemDarkMode, 0, 9);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelSelectedItemBorderDarkMode, 0, 10);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelWarningDarkMode, 0, 11);
this.tableLayoutPanelDarkMode.Controls.Add(this.labelScrollbarDarkMode, 0, 12);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelScrollbarBackgroundDarkMode, 0, 13);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelSliderDarkMode, 0, 14);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelSliderDraggingDarkMode, 0, 15);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelSliderHoverDarkMode, 0, 16);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelSliderArrowsAndTrackHoverDarkMode, 0, 17);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelArrowDarkMode, 0, 18);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelArrowClickDarkMode, 0, 19);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelArrowClickBackgroundDarkMode, 0, 20);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelArrowHoverDarkMode, 0, 21);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelArrowHoverBackgroundDarkMode, 0, 22);
this.tableLayoutPanelDarkMode.Controls.Add(this.buttonColorsDefaultDarkMode, 0, 23);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelTitleDarkMode, 0, 2);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelBackgroundDarkMode, 0, 4);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelColorIconsDarkMode, 0, 1);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelColorBackgroundBorderDarkMode, 0, 3);
this.tableLayoutPanelDarkMode.Controls.Add(this.labelMenuDarkMode, 0, 0);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelSearchFieldDarkMode, 0, 4);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelOpenFolderDarkMode, 0, 5);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelOpenFolderBorderDarkMode, 0, 6);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelSelectedItemDarkMode, 0, 7);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelSelectedItemBorderDarkMode, 0, 8);
this.tableLayoutPanelDarkMode.Controls.Add(this.labelScrollbarDarkMode, 0, 9);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelScrollbarBackgroundDarkMode, 0, 10);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelSliderDarkMode, 0, 11);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelSliderDraggingDarkMode, 0, 12);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelSliderHoverDarkMode, 0, 13);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelSliderArrowsAndTrackHoverDarkMode, 0, 14);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelArrowDarkMode, 0, 15);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelArrowClickDarkMode, 0, 16);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelArrowClickBackgroundDarkMode, 0, 17);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelArrowHoverDarkMode, 0, 18);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelArrowHoverBackgroundDarkMode, 0, 19);
this.tableLayoutPanelDarkMode.Controls.Add(this.buttonColorsDefaultDarkMode, 0, 20);
this.tableLayoutPanelDarkMode.Controls.Add(this.tableLayoutPanelBackgroundDarkMode, 0, 2);
this.tableLayoutPanelDarkMode.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanelDarkMode.Location = new System.Drawing.Point(3, 19);
this.tableLayoutPanelDarkMode.Name = "tableLayoutPanelDarkMode";
this.tableLayoutPanelDarkMode.RowCount = 24;
this.tableLayoutPanelDarkMode.RowCount = 21;
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());
@ -1865,10 +1839,8 @@ 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());
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());
this.tableLayoutPanelDarkMode.Size = new System.Drawing.Size(379, 641);
this.tableLayoutPanelDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanelDarkMode.Size = new System.Drawing.Size(379, 583);
this.tableLayoutPanelDarkMode.TabIndex = 0;
//
// tableLayoutPanelColorIconsDarkMode
@ -1882,7 +1854,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelColorIconsDarkMode.Controls.Add(this.pictureBoxIconsDarkMode, 0, 0);
this.tableLayoutPanelColorIconsDarkMode.Controls.Add(this.labelIconsDarkMode, 2, 0);
this.tableLayoutPanelColorIconsDarkMode.Controls.Add(this.textBoxColorIconsDarkMode, 1, 0);
this.tableLayoutPanelColorIconsDarkMode.Location = new System.Drawing.Point(3, 47);
this.tableLayoutPanelColorIconsDarkMode.Location = new System.Drawing.Point(3, 18);
this.tableLayoutPanelColorIconsDarkMode.Name = "tableLayoutPanelColorIconsDarkMode";
this.tableLayoutPanelColorIconsDarkMode.RowCount = 1;
this.tableLayoutPanelColorIconsDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -1936,7 +1908,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelColorBackgroundBorderDarkMode.Controls.Add(this.pictureBoxBackgroundBorderDarkMode, 0, 0);
this.tableLayoutPanelColorBackgroundBorderDarkMode.Controls.Add(this.labelBackgroundBorderDarkMode, 2, 0);
this.tableLayoutPanelColorBackgroundBorderDarkMode.Controls.Add(this.textBoxColorBackgroundBorderDarkMode, 1, 0);
this.tableLayoutPanelColorBackgroundBorderDarkMode.Location = new System.Drawing.Point(3, 105);
this.tableLayoutPanelColorBackgroundBorderDarkMode.Location = new System.Drawing.Point(3, 76);
this.tableLayoutPanelColorBackgroundBorderDarkMode.Name = "tableLayoutPanelColorBackgroundBorderDarkMode";
this.tableLayoutPanelColorBackgroundBorderDarkMode.RowCount = 1;
this.tableLayoutPanelColorBackgroundBorderDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -1999,7 +1971,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSearchFieldDarkMode.Controls.Add(this.pictureBoxSearchFieldDarkMode, 0, 0);
this.tableLayoutPanelSearchFieldDarkMode.Controls.Add(this.labelSearchFieldDarkMode, 2, 0);
this.tableLayoutPanelSearchFieldDarkMode.Controls.Add(this.textBoxColorSearchFieldDarkMode, 1, 0);
this.tableLayoutPanelSearchFieldDarkMode.Location = new System.Drawing.Point(3, 134);
this.tableLayoutPanelSearchFieldDarkMode.Location = new System.Drawing.Point(3, 105);
this.tableLayoutPanelSearchFieldDarkMode.Name = "tableLayoutPanelSearchFieldDarkMode";
this.tableLayoutPanelSearchFieldDarkMode.RowCount = 1;
this.tableLayoutPanelSearchFieldDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2053,7 +2025,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelOpenFolderDarkMode.Controls.Add(this.pictureBoxOpenFolderDarkMode, 0, 0);
this.tableLayoutPanelOpenFolderDarkMode.Controls.Add(this.labelOpenFolderDarkMode, 2, 0);
this.tableLayoutPanelOpenFolderDarkMode.Controls.Add(this.textBoxColorOpenFolderDarkMode, 1, 0);
this.tableLayoutPanelOpenFolderDarkMode.Location = new System.Drawing.Point(3, 163);
this.tableLayoutPanelOpenFolderDarkMode.Location = new System.Drawing.Point(3, 134);
this.tableLayoutPanelOpenFolderDarkMode.Name = "tableLayoutPanelOpenFolderDarkMode";
this.tableLayoutPanelOpenFolderDarkMode.RowCount = 1;
this.tableLayoutPanelOpenFolderDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2107,7 +2079,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelOpenFolderBorderDarkMode.Controls.Add(this.pictureBoxOpenFolderBorderDarkMode, 0, 0);
this.tableLayoutPanelOpenFolderBorderDarkMode.Controls.Add(this.labelOpenFolderBorderDarkMode, 2, 0);
this.tableLayoutPanelOpenFolderBorderDarkMode.Controls.Add(this.textBoxColorOpenFolderBorderDarkMode, 1, 0);
this.tableLayoutPanelOpenFolderBorderDarkMode.Location = new System.Drawing.Point(3, 192);
this.tableLayoutPanelOpenFolderBorderDarkMode.Location = new System.Drawing.Point(3, 163);
this.tableLayoutPanelOpenFolderBorderDarkMode.Name = "tableLayoutPanelOpenFolderBorderDarkMode";
this.tableLayoutPanelOpenFolderBorderDarkMode.RowCount = 1;
this.tableLayoutPanelOpenFolderBorderDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2160,7 +2132,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSelectedItemDarkMode.Controls.Add(this.pictureColorBoxSelectedItemDarkMode, 0, 0);
this.tableLayoutPanelSelectedItemDarkMode.Controls.Add(this.labelSelectedItemDarkMode, 2, 0);
this.tableLayoutPanelSelectedItemDarkMode.Controls.Add(this.textBoxColorSelecetedItemDarkMode, 1, 0);
this.tableLayoutPanelSelectedItemDarkMode.Location = new System.Drawing.Point(3, 221);
this.tableLayoutPanelSelectedItemDarkMode.Location = new System.Drawing.Point(3, 192);
this.tableLayoutPanelSelectedItemDarkMode.Name = "tableLayoutPanelSelectedItemDarkMode";
this.tableLayoutPanelSelectedItemDarkMode.RowCount = 1;
this.tableLayoutPanelSelectedItemDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2214,7 +2186,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSelectedItemBorderDarkMode.Controls.Add(this.pictureBoxSelectedItemBorderDarkMode, 0, 0);
this.tableLayoutPanelSelectedItemBorderDarkMode.Controls.Add(this.labelSelectedItemBorderDarkMode, 2, 0);
this.tableLayoutPanelSelectedItemBorderDarkMode.Controls.Add(this.textBoxColorSelectedItemBorderDarkMode, 1, 0);
this.tableLayoutPanelSelectedItemBorderDarkMode.Location = new System.Drawing.Point(3, 250);
this.tableLayoutPanelSelectedItemBorderDarkMode.Location = new System.Drawing.Point(3, 221);
this.tableLayoutPanelSelectedItemBorderDarkMode.Name = "tableLayoutPanelSelectedItemBorderDarkMode";
this.tableLayoutPanelSelectedItemBorderDarkMode.RowCount = 1;
this.tableLayoutPanelSelectedItemBorderDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2257,64 +2229,10 @@ namespace SystemTrayMenu.UserInterface
this.textBoxColorSelectedItemBorderDarkMode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyDown);
this.textBoxColorSelectedItemBorderDarkMode.KeyUp += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyUp);
//
// tableLayoutPanelWarningDarkMode
//
this.tableLayoutPanelWarningDarkMode.AutoSize = true;
this.tableLayoutPanelWarningDarkMode.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.tableLayoutPanelWarningDarkMode.ColumnCount = 3;
this.tableLayoutPanelWarningDarkMode.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelWarningDarkMode.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelWarningDarkMode.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanelWarningDarkMode.Controls.Add(this.pictureBoxWarningDarkMode, 0, 0);
this.tableLayoutPanelWarningDarkMode.Controls.Add(this.labelWarningDarkMode, 2, 0);
this.tableLayoutPanelWarningDarkMode.Controls.Add(this.textBoxColorWarningDarkMode, 1, 0);
this.tableLayoutPanelWarningDarkMode.Location = new System.Drawing.Point(3, 279);
this.tableLayoutPanelWarningDarkMode.Name = "tableLayoutPanelWarningDarkMode";
this.tableLayoutPanelWarningDarkMode.RowCount = 1;
this.tableLayoutPanelWarningDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelWarningDarkMode.Size = new System.Drawing.Size(230, 23);
this.tableLayoutPanelWarningDarkMode.TabIndex = 2;
//
// pictureBoxWarningDarkMode
//
this.pictureBoxWarningDarkMode.BackColor = System.Drawing.Color.White;
this.pictureBoxWarningDarkMode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBoxWarningDarkMode.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBoxWarningDarkMode.Location = new System.Drawing.Point(0, 0);
this.pictureBoxWarningDarkMode.Margin = new System.Windows.Forms.Padding(0);
this.pictureBoxWarningDarkMode.Name = "pictureBoxWarningDarkMode";
this.pictureBoxWarningDarkMode.Size = new System.Drawing.Size(23, 23);
this.pictureBoxWarningDarkMode.TabIndex = 1;
this.pictureBoxWarningDarkMode.TabStop = false;
this.pictureBoxWarningDarkMode.Click += new System.EventHandler(this.PictureBoxClick);
//
// labelWarningDarkMode
//
this.labelWarningDarkMode.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.labelWarningDarkMode.AutoSize = true;
this.labelWarningDarkMode.Location = new System.Drawing.Point(95, 4);
this.labelWarningDarkMode.Name = "labelWarningDarkMode";
this.labelWarningDarkMode.Size = new System.Drawing.Size(132, 15);
this.labelWarningDarkMode.TabIndex = 0;
this.labelWarningDarkMode.Text = "labelWarningDarkMode";
//
// textBoxColorWarningDarkMode
//
this.textBoxColorWarningDarkMode.Location = new System.Drawing.Point(23, 0);
this.textBoxColorWarningDarkMode.Margin = new System.Windows.Forms.Padding(0);
this.textBoxColorWarningDarkMode.MaxLength = 12;
this.textBoxColorWarningDarkMode.Name = "textBoxColorWarningDarkMode";
this.textBoxColorWarningDarkMode.Size = new System.Drawing.Size(69, 23);
this.textBoxColorWarningDarkMode.TabIndex = 2;
this.textBoxColorWarningDarkMode.Text = "#ffffff";
this.textBoxColorWarningDarkMode.TextChanged += new System.EventHandler(this.TextBoxColorsChanged);
this.textBoxColorWarningDarkMode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyDown);
this.textBoxColorWarningDarkMode.KeyUp += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyUp);
//
// labelScrollbarDarkMode
//
this.labelScrollbarDarkMode.AutoSize = true;
this.labelScrollbarDarkMode.Location = new System.Drawing.Point(3, 305);
this.labelScrollbarDarkMode.Location = new System.Drawing.Point(3, 247);
this.labelScrollbarDarkMode.Name = "labelScrollbarDarkMode";
this.labelScrollbarDarkMode.Size = new System.Drawing.Size(133, 15);
this.labelScrollbarDarkMode.TabIndex = 3;
@ -2331,7 +2249,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelScrollbarBackgroundDarkMode.Controls.Add(this.pictureBoxScrollbarBackgroundDarkMode, 0, 0);
this.tableLayoutPanelScrollbarBackgroundDarkMode.Controls.Add(this.textBoxColorScrollbarBackgroundDarkMode, 1, 0);
this.tableLayoutPanelScrollbarBackgroundDarkMode.Controls.Add(this.labelColorDarkModeScrollbarBackground, 2, 0);
this.tableLayoutPanelScrollbarBackgroundDarkMode.Location = new System.Drawing.Point(3, 323);
this.tableLayoutPanelScrollbarBackgroundDarkMode.Location = new System.Drawing.Point(3, 265);
this.tableLayoutPanelScrollbarBackgroundDarkMode.Name = "tableLayoutPanelScrollbarBackgroundDarkMode";
this.tableLayoutPanelScrollbarBackgroundDarkMode.RowCount = 1;
this.tableLayoutPanelScrollbarBackgroundDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2385,7 +2303,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSliderDarkMode.Controls.Add(this.pictureBoxSliderDarkMode, 0, 0);
this.tableLayoutPanelSliderDarkMode.Controls.Add(this.textBoxColorSliderDarkMode, 1, 0);
this.tableLayoutPanelSliderDarkMode.Controls.Add(this.labelColorDarkModeSlider, 2, 0);
this.tableLayoutPanelSliderDarkMode.Location = new System.Drawing.Point(3, 352);
this.tableLayoutPanelSliderDarkMode.Location = new System.Drawing.Point(3, 294);
this.tableLayoutPanelSliderDarkMode.Name = "tableLayoutPanelSliderDarkMode";
this.tableLayoutPanelSliderDarkMode.RowCount = 1;
this.tableLayoutPanelSliderDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2439,7 +2357,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSliderDraggingDarkMode.Controls.Add(this.pictureBoxSliderDraggingDarkMode, 0, 0);
this.tableLayoutPanelSliderDraggingDarkMode.Controls.Add(this.textBoxColorSliderDraggingDarkMode, 1, 0);
this.tableLayoutPanelSliderDraggingDarkMode.Controls.Add(this.labelColorDarkModeSliderDragging, 2, 0);
this.tableLayoutPanelSliderDraggingDarkMode.Location = new System.Drawing.Point(3, 381);
this.tableLayoutPanelSliderDraggingDarkMode.Location = new System.Drawing.Point(3, 323);
this.tableLayoutPanelSliderDraggingDarkMode.Name = "tableLayoutPanelSliderDraggingDarkMode";
this.tableLayoutPanelSliderDraggingDarkMode.RowCount = 1;
this.tableLayoutPanelSliderDraggingDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2493,7 +2411,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSliderHoverDarkMode.Controls.Add(this.pictureBoxSliderHoverDarkMode, 0, 0);
this.tableLayoutPanelSliderHoverDarkMode.Controls.Add(this.textBoxColorSliderHoverDarkMode, 1, 0);
this.tableLayoutPanelSliderHoverDarkMode.Controls.Add(this.labelColorDarkModeSliderHover, 2, 0);
this.tableLayoutPanelSliderHoverDarkMode.Location = new System.Drawing.Point(3, 410);
this.tableLayoutPanelSliderHoverDarkMode.Location = new System.Drawing.Point(3, 352);
this.tableLayoutPanelSliderHoverDarkMode.Name = "tableLayoutPanelSliderHoverDarkMode";
this.tableLayoutPanelSliderHoverDarkMode.RowCount = 1;
this.tableLayoutPanelSliderHoverDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2547,7 +2465,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSliderArrowsAndTrackHoverDarkMode.Controls.Add(this.pictureBoxSliderArrowsAndTrackHoverDarkMode, 0, 0);
this.tableLayoutPanelSliderArrowsAndTrackHoverDarkMode.Controls.Add(this.textBoxColorSliderArrowsAndTrackHoverDarkMode, 1, 0);
this.tableLayoutPanelSliderArrowsAndTrackHoverDarkMode.Controls.Add(this.labelColorDarkModeSliderArrowsAndTrackHover, 2, 0);
this.tableLayoutPanelSliderArrowsAndTrackHoverDarkMode.Location = new System.Drawing.Point(3, 439);
this.tableLayoutPanelSliderArrowsAndTrackHoverDarkMode.Location = new System.Drawing.Point(3, 381);
this.tableLayoutPanelSliderArrowsAndTrackHoverDarkMode.Name = "tableLayoutPanelSliderArrowsAndTrackHoverDarkMode";
this.tableLayoutPanelSliderArrowsAndTrackHoverDarkMode.RowCount = 1;
this.tableLayoutPanelSliderArrowsAndTrackHoverDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2601,7 +2519,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelArrowDarkMode.Controls.Add(this.pictureBoxArrowDarkMode, 0, 0);
this.tableLayoutPanelArrowDarkMode.Controls.Add(this.textBoxColorArrowDarkMode, 1, 0);
this.tableLayoutPanelArrowDarkMode.Controls.Add(this.labelColorDarkModeArrow, 2, 0);
this.tableLayoutPanelArrowDarkMode.Location = new System.Drawing.Point(3, 468);
this.tableLayoutPanelArrowDarkMode.Location = new System.Drawing.Point(3, 410);
this.tableLayoutPanelArrowDarkMode.Name = "tableLayoutPanelArrowDarkMode";
this.tableLayoutPanelArrowDarkMode.RowCount = 1;
this.tableLayoutPanelArrowDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2655,7 +2573,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelArrowClickDarkMode.Controls.Add(this.pictureBoxArrowClickDarkMode, 0, 0);
this.tableLayoutPanelArrowClickDarkMode.Controls.Add(this.textBoxColorArrowClickDarkMode, 1, 0);
this.tableLayoutPanelArrowClickDarkMode.Controls.Add(this.labelColorDarkModeArrowClick, 2, 0);
this.tableLayoutPanelArrowClickDarkMode.Location = new System.Drawing.Point(3, 497);
this.tableLayoutPanelArrowClickDarkMode.Location = new System.Drawing.Point(3, 439);
this.tableLayoutPanelArrowClickDarkMode.Name = "tableLayoutPanelArrowClickDarkMode";
this.tableLayoutPanelArrowClickDarkMode.RowCount = 1;
this.tableLayoutPanelArrowClickDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2709,7 +2627,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelArrowClickBackgroundDarkMode.Controls.Add(this.pictureBoxArrowClickBackgroundDarkMode, 0, 0);
this.tableLayoutPanelArrowClickBackgroundDarkMode.Controls.Add(this.textBoxColorArrowClickBackgroundDarkMode, 1, 0);
this.tableLayoutPanelArrowClickBackgroundDarkMode.Controls.Add(this.labelColorDarkModeArrowClickBackground, 2, 0);
this.tableLayoutPanelArrowClickBackgroundDarkMode.Location = new System.Drawing.Point(3, 526);
this.tableLayoutPanelArrowClickBackgroundDarkMode.Location = new System.Drawing.Point(3, 468);
this.tableLayoutPanelArrowClickBackgroundDarkMode.Name = "tableLayoutPanelArrowClickBackgroundDarkMode";
this.tableLayoutPanelArrowClickBackgroundDarkMode.RowCount = 1;
this.tableLayoutPanelArrowClickBackgroundDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2763,7 +2681,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelArrowHoverDarkMode.Controls.Add(this.pictureBoxArrowHoverDarkMode, 0, 0);
this.tableLayoutPanelArrowHoverDarkMode.Controls.Add(this.textBoxColorArrowHoverDarkMode, 1, 0);
this.tableLayoutPanelArrowHoverDarkMode.Controls.Add(this.labelColorDarkModeArrowHover, 2, 0);
this.tableLayoutPanelArrowHoverDarkMode.Location = new System.Drawing.Point(3, 555);
this.tableLayoutPanelArrowHoverDarkMode.Location = new System.Drawing.Point(3, 497);
this.tableLayoutPanelArrowHoverDarkMode.Name = "tableLayoutPanelArrowHoverDarkMode";
this.tableLayoutPanelArrowHoverDarkMode.RowCount = 1;
this.tableLayoutPanelArrowHoverDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2817,7 +2735,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelArrowHoverBackgroundDarkMode.Controls.Add(this.pictureBoxArrowHoverBackgroundDarkMode, 0, 0);
this.tableLayoutPanelArrowHoverBackgroundDarkMode.Controls.Add(this.textBoxColorArrowHoverBackgroundDarkMode, 1, 0);
this.tableLayoutPanelArrowHoverBackgroundDarkMode.Controls.Add(this.labelColorDarkModeArrowHoverBackground, 2, 0);
this.tableLayoutPanelArrowHoverBackgroundDarkMode.Location = new System.Drawing.Point(3, 584);
this.tableLayoutPanelArrowHoverBackgroundDarkMode.Location = new System.Drawing.Point(3, 526);
this.tableLayoutPanelArrowHoverBackgroundDarkMode.Name = "tableLayoutPanelArrowHoverBackgroundDarkMode";
this.tableLayoutPanelArrowHoverBackgroundDarkMode.RowCount = 1;
this.tableLayoutPanelArrowHoverBackgroundDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2865,7 +2783,7 @@ namespace SystemTrayMenu.UserInterface
//
this.buttonColorsDefaultDarkMode.AutoSize = true;
this.buttonColorsDefaultDarkMode.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.buttonColorsDefaultDarkMode.Location = new System.Drawing.Point(3, 613);
this.buttonColorsDefaultDarkMode.Location = new System.Drawing.Point(3, 555);
this.buttonColorsDefaultDarkMode.MinimumSize = new System.Drawing.Size(75, 23);
this.buttonColorsDefaultDarkMode.Name = "buttonColorsDefaultDarkMode";
this.buttonColorsDefaultDarkMode.Size = new System.Drawing.Size(180, 25);
@ -2874,60 +2792,6 @@ namespace SystemTrayMenu.UserInterface
this.buttonColorsDefaultDarkMode.UseVisualStyleBackColor = true;
this.buttonColorsDefaultDarkMode.Click += new System.EventHandler(this.ButtonDefaultColorsDark_Click);
//
// tableLayoutPanelTitleDarkMode
//
this.tableLayoutPanelTitleDarkMode.AutoSize = true;
this.tableLayoutPanelTitleDarkMode.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.tableLayoutPanelTitleDarkMode.ColumnCount = 3;
this.tableLayoutPanelTitleDarkMode.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelTitleDarkMode.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelTitleDarkMode.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanelTitleDarkMode.Controls.Add(this.pictureBoxTitleDarkMode, 0, 0);
this.tableLayoutPanelTitleDarkMode.Controls.Add(this.labelTitleDarkMode, 2, 0);
this.tableLayoutPanelTitleDarkMode.Controls.Add(this.textBoxColorTitleDarkMode, 1, 0);
this.tableLayoutPanelTitleDarkMode.Location = new System.Drawing.Point(3, 18);
this.tableLayoutPanelTitleDarkMode.Name = "tableLayoutPanelTitleDarkMode";
this.tableLayoutPanelTitleDarkMode.RowCount = 1;
this.tableLayoutPanelTitleDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelTitleDarkMode.Size = new System.Drawing.Size(207, 23);
this.tableLayoutPanelTitleDarkMode.TabIndex = 2;
//
// pictureBoxTitleDarkMode
//
this.pictureBoxTitleDarkMode.BackColor = System.Drawing.Color.White;
this.pictureBoxTitleDarkMode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBoxTitleDarkMode.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBoxTitleDarkMode.Location = new System.Drawing.Point(0, 0);
this.pictureBoxTitleDarkMode.Margin = new System.Windows.Forms.Padding(0);
this.pictureBoxTitleDarkMode.Name = "pictureBoxTitleDarkMode";
this.pictureBoxTitleDarkMode.Size = new System.Drawing.Size(23, 23);
this.pictureBoxTitleDarkMode.TabIndex = 1;
this.pictureBoxTitleDarkMode.TabStop = false;
this.pictureBoxTitleDarkMode.Click += new System.EventHandler(this.PictureBoxClick);
//
// labelTitleDarkMode
//
this.labelTitleDarkMode.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.labelTitleDarkMode.AutoSize = true;
this.labelTitleDarkMode.Location = new System.Drawing.Point(95, 4);
this.labelTitleDarkMode.Name = "labelTitleDarkMode";
this.labelTitleDarkMode.Size = new System.Drawing.Size(109, 15);
this.labelTitleDarkMode.TabIndex = 0;
this.labelTitleDarkMode.Text = "labelTitleDarkMode";
//
// textBoxColorTitleDarkMode
//
this.textBoxColorTitleDarkMode.Location = new System.Drawing.Point(23, 0);
this.textBoxColorTitleDarkMode.Margin = new System.Windows.Forms.Padding(0);
this.textBoxColorTitleDarkMode.MaxLength = 12;
this.textBoxColorTitleDarkMode.Name = "textBoxColorTitleDarkMode";
this.textBoxColorTitleDarkMode.Size = new System.Drawing.Size(69, 23);
this.textBoxColorTitleDarkMode.TabIndex = 2;
this.textBoxColorTitleDarkMode.Text = "#ffffff";
this.textBoxColorTitleDarkMode.TextChanged += new System.EventHandler(this.TextBoxColorsChanged);
this.textBoxColorTitleDarkMode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyDown);
this.textBoxColorTitleDarkMode.KeyUp += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyUp);
//
// tableLayoutPanelBackgroundDarkMode
//
this.tableLayoutPanelBackgroundDarkMode.AutoSize = true;
@ -2939,7 +2803,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelBackgroundDarkMode.Controls.Add(this.pictureBoxBackgroundDarkMode, 0, 0);
this.tableLayoutPanelBackgroundDarkMode.Controls.Add(this.labelBackgroundDarkMode, 2, 0);
this.tableLayoutPanelBackgroundDarkMode.Controls.Add(this.textBoxColorBackgroundDarkMode, 1, 0);
this.tableLayoutPanelBackgroundDarkMode.Location = new System.Drawing.Point(3, 76);
this.tableLayoutPanelBackgroundDarkMode.Location = new System.Drawing.Point(3, 47);
this.tableLayoutPanelBackgroundDarkMode.Name = "tableLayoutPanelBackgroundDarkMode";
this.tableLayoutPanelBackgroundDarkMode.RowCount = 1;
this.tableLayoutPanelBackgroundDarkMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -2991,7 +2855,7 @@ namespace SystemTrayMenu.UserInterface
this.groupBoxColorsLightMode.MaximumSize = new System.Drawing.Size(385, 0);
this.groupBoxColorsLightMode.MinimumSize = new System.Drawing.Size(385, 0);
this.groupBoxColorsLightMode.Name = "groupBoxColorsLightMode";
this.groupBoxColorsLightMode.Size = new System.Drawing.Size(385, 663);
this.groupBoxColorsLightMode.Size = new System.Drawing.Size(385, 605);
this.groupBoxColorsLightMode.TabIndex = 0;
this.groupBoxColorsLightMode.TabStop = false;
this.groupBoxColorsLightMode.Text = "groupBoxColorsLightMode";
@ -3002,33 +2866,31 @@ namespace SystemTrayMenu.UserInterface
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.tableLayoutPanelIcons, 0, 2);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelBackgroundBorder, 0, 4);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelIcons, 0, 1);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelBackgroundBorder, 0, 3);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.labelMenuLightMode, 0, 0);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelTitle, 0, 1);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelBackground, 0, 3);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.buttonColorsDefault, 0, 22);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelArrowHoverBackground, 0, 21);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelArrowHover, 0, 20);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelArrowClickBackground, 0, 19);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelArrowClick, 0, 18);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelArrow, 0, 17);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelSliderArrowsAndTrackHover, 0, 16);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelSliderHover, 0, 15);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelSliderDragging, 0, 14);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelSlider, 0, 13);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelScrollbarBackground, 0, 12);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.labelScrollbarLightMode, 0, 11);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelWarning, 0, 10);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelSelectedItemBorder, 0, 9);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelSelectedItem, 0, 8);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelOpenFolderBorder, 0, 7);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelOpenFolder, 0, 6);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelSearchField, 0, 5);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelBackground, 0, 2);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.buttonColorsDefault, 0, 20);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelArrowHoverBackground, 0, 19);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelArrowHover, 0, 18);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelArrowClickBackground, 0, 17);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelArrowClick, 0, 16);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelArrow, 0, 15);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelSliderArrowsAndTrackHover, 0, 14);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelSliderHover, 0, 13);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelSliderDragging, 0, 12);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelSlider, 0, 11);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelScrollbarBackground, 0, 10);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.labelScrollbarLightMode, 0, 9);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelSelectedItemBorder, 0, 8);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelSelectedItem, 0, 7);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelOpenFolderBorder, 0, 6);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelOpenFolder, 0, 5);
this.tableLayoutPanelColorsAndDefault.Controls.Add(this.tableLayoutPanelSearchField, 0, 4);
this.tableLayoutPanelColorsAndDefault.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanelColorsAndDefault.Location = new System.Drawing.Point(3, 19);
this.tableLayoutPanelColorsAndDefault.Name = "tableLayoutPanelColorsAndDefault";
this.tableLayoutPanelColorsAndDefault.RowCount = 23;
this.tableLayoutPanelColorsAndDefault.RowCount = 21;
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());
@ -3050,9 +2912,8 @@ namespace SystemTrayMenu.UserInterface
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.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelColorsAndDefault.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelColorsAndDefault.Size = new System.Drawing.Size(379, 641);
this.tableLayoutPanelColorsAndDefault.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanelColorsAndDefault.Size = new System.Drawing.Size(379, 583);
this.tableLayoutPanelColorsAndDefault.TabIndex = 0;
//
// tableLayoutPanelIcons
@ -3066,7 +2927,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelIcons.Controls.Add(this.pictureBoxIcons, 0, 0);
this.tableLayoutPanelIcons.Controls.Add(this.textBoxColorIcons, 1, 0);
this.tableLayoutPanelIcons.Controls.Add(this.labelIcons, 2, 0);
this.tableLayoutPanelIcons.Location = new System.Drawing.Point(3, 47);
this.tableLayoutPanelIcons.Location = new System.Drawing.Point(3, 18);
this.tableLayoutPanelIcons.Name = "tableLayoutPanelIcons";
this.tableLayoutPanelIcons.RowCount = 1;
this.tableLayoutPanelIcons.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -3120,7 +2981,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelBackgroundBorder.Controls.Add(this.pictureBoxBackgroundBorder, 0, 0);
this.tableLayoutPanelBackgroundBorder.Controls.Add(this.textBoxColorBackgroundBorder, 1, 0);
this.tableLayoutPanelBackgroundBorder.Controls.Add(this.labelBackgroundBorder, 2, 0);
this.tableLayoutPanelBackgroundBorder.Location = new System.Drawing.Point(3, 105);
this.tableLayoutPanelBackgroundBorder.Location = new System.Drawing.Point(3, 76);
this.tableLayoutPanelBackgroundBorder.Name = "tableLayoutPanelBackgroundBorder";
this.tableLayoutPanelBackgroundBorder.RowCount = 1;
this.tableLayoutPanelBackgroundBorder.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -3173,60 +3034,6 @@ namespace SystemTrayMenu.UserInterface
this.labelMenuLightMode.TabIndex = 3;
this.labelMenuLightMode.Text = "labelMenuLightMode";
//
// tableLayoutPanelTitle
//
this.tableLayoutPanelTitle.AutoSize = true;
this.tableLayoutPanelTitle.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.tableLayoutPanelTitle.ColumnCount = 3;
this.tableLayoutPanelTitle.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelTitle.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelTitle.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanelTitle.Controls.Add(this.pictureBoxTitle, 0, 0);
this.tableLayoutPanelTitle.Controls.Add(this.textBoxColorTitle, 1, 0);
this.tableLayoutPanelTitle.Controls.Add(this.labelTitle, 2, 0);
this.tableLayoutPanelTitle.Location = new System.Drawing.Point(3, 18);
this.tableLayoutPanelTitle.Name = "tableLayoutPanelTitle";
this.tableLayoutPanelTitle.RowCount = 1;
this.tableLayoutPanelTitle.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelTitle.Size = new System.Drawing.Size(152, 23);
this.tableLayoutPanelTitle.TabIndex = 2;
//
// pictureBoxTitle
//
this.pictureBoxTitle.BackColor = System.Drawing.Color.White;
this.pictureBoxTitle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBoxTitle.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBoxTitle.Location = new System.Drawing.Point(0, 0);
this.pictureBoxTitle.Margin = new System.Windows.Forms.Padding(0);
this.pictureBoxTitle.Name = "pictureBoxTitle";
this.pictureBoxTitle.Size = new System.Drawing.Size(23, 23);
this.pictureBoxTitle.TabIndex = 1;
this.pictureBoxTitle.TabStop = false;
this.pictureBoxTitle.Click += new System.EventHandler(this.PictureBoxClick);
//
// textBoxColorTitle
//
this.textBoxColorTitle.Location = new System.Drawing.Point(23, 0);
this.textBoxColorTitle.Margin = new System.Windows.Forms.Padding(0);
this.textBoxColorTitle.MaxLength = 12;
this.textBoxColorTitle.Name = "textBoxColorTitle";
this.textBoxColorTitle.Size = new System.Drawing.Size(69, 23);
this.textBoxColorTitle.TabIndex = 2;
this.textBoxColorTitle.Text = "#ffffff";
this.textBoxColorTitle.TextChanged += new System.EventHandler(this.TextBoxColorsChanged);
this.textBoxColorTitle.KeyDown += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyDown);
this.textBoxColorTitle.KeyUp += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyUp);
//
// labelTitle
//
this.labelTitle.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.labelTitle.AutoSize = true;
this.labelTitle.Location = new System.Drawing.Point(95, 4);
this.labelTitle.Name = "labelTitle";
this.labelTitle.Size = new System.Drawing.Size(54, 15);
this.labelTitle.TabIndex = 0;
this.labelTitle.Text = "labelTitle";
//
// tableLayoutPanelBackground
//
this.tableLayoutPanelBackground.AutoSize = true;
@ -3238,7 +3045,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelBackground.Controls.Add(this.pictureBoxBackground, 0, 0);
this.tableLayoutPanelBackground.Controls.Add(this.textBoxColorBackground, 1, 0);
this.tableLayoutPanelBackground.Controls.Add(this.labelBackground, 2, 0);
this.tableLayoutPanelBackground.Location = new System.Drawing.Point(3, 76);
this.tableLayoutPanelBackground.Location = new System.Drawing.Point(3, 47);
this.tableLayoutPanelBackground.Name = "tableLayoutPanelBackground";
this.tableLayoutPanelBackground.RowCount = 1;
this.tableLayoutPanelBackground.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -3286,7 +3093,7 @@ namespace SystemTrayMenu.UserInterface
//
this.buttonColorsDefault.AutoSize = true;
this.buttonColorsDefault.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.buttonColorsDefault.Location = new System.Drawing.Point(3, 613);
this.buttonColorsDefault.Location = new System.Drawing.Point(3, 555);
this.buttonColorsDefault.MinimumSize = new System.Drawing.Size(75, 23);
this.buttonColorsDefault.Name = "buttonColorsDefault";
this.buttonColorsDefault.Size = new System.Drawing.Size(125, 25);
@ -3306,7 +3113,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelArrowHoverBackground.Controls.Add(this.pictureBoxArrowHoverBackground, 0, 0);
this.tableLayoutPanelArrowHoverBackground.Controls.Add(this.textBoxColorArrowHoverBackground, 1, 0);
this.tableLayoutPanelArrowHoverBackground.Controls.Add(this.labelArrowHoverBackground, 2, 0);
this.tableLayoutPanelArrowHoverBackground.Location = new System.Drawing.Point(3, 584);
this.tableLayoutPanelArrowHoverBackground.Location = new System.Drawing.Point(3, 526);
this.tableLayoutPanelArrowHoverBackground.Name = "tableLayoutPanelArrowHoverBackground";
this.tableLayoutPanelArrowHoverBackground.RowCount = 1;
this.tableLayoutPanelArrowHoverBackground.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -3361,7 +3168,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelArrowHover.Controls.Add(this.pictureBoxArrowHover, 0, 0);
this.tableLayoutPanelArrowHover.Controls.Add(this.textBoxColorArrowHover, 1, 0);
this.tableLayoutPanelArrowHover.Controls.Add(this.labelArrowHover, 2, 0);
this.tableLayoutPanelArrowHover.Location = new System.Drawing.Point(3, 555);
this.tableLayoutPanelArrowHover.Location = new System.Drawing.Point(3, 497);
this.tableLayoutPanelArrowHover.Name = "tableLayoutPanelArrowHover";
this.tableLayoutPanelArrowHover.RowCount = 1;
this.tableLayoutPanelArrowHover.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -3415,7 +3222,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelArrowClickBackground.Controls.Add(this.pictureBoxArrowClickBackground, 0, 0);
this.tableLayoutPanelArrowClickBackground.Controls.Add(this.textBoxColorArrowClickBackground, 1, 0);
this.tableLayoutPanelArrowClickBackground.Controls.Add(this.labelArrowClickBackground, 2, 0);
this.tableLayoutPanelArrowClickBackground.Location = new System.Drawing.Point(3, 526);
this.tableLayoutPanelArrowClickBackground.Location = new System.Drawing.Point(3, 468);
this.tableLayoutPanelArrowClickBackground.Name = "tableLayoutPanelArrowClickBackground";
this.tableLayoutPanelArrowClickBackground.RowCount = 1;
this.tableLayoutPanelArrowClickBackground.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -3469,7 +3276,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelArrowClick.Controls.Add(this.pictureBoxArrowClick, 0, 0);
this.tableLayoutPanelArrowClick.Controls.Add(this.textBoxColorArrowClick, 1, 0);
this.tableLayoutPanelArrowClick.Controls.Add(this.labelArrowClick, 2, 0);
this.tableLayoutPanelArrowClick.Location = new System.Drawing.Point(3, 497);
this.tableLayoutPanelArrowClick.Location = new System.Drawing.Point(3, 439);
this.tableLayoutPanelArrowClick.Name = "tableLayoutPanelArrowClick";
this.tableLayoutPanelArrowClick.RowCount = 1;
this.tableLayoutPanelArrowClick.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -3523,7 +3330,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelArrow.Controls.Add(this.pictureBoxArrow, 0, 0);
this.tableLayoutPanelArrow.Controls.Add(this.textBoxColorArrow, 1, 0);
this.tableLayoutPanelArrow.Controls.Add(this.labelArrow, 2, 0);
this.tableLayoutPanelArrow.Location = new System.Drawing.Point(3, 468);
this.tableLayoutPanelArrow.Location = new System.Drawing.Point(3, 410);
this.tableLayoutPanelArrow.Name = "tableLayoutPanelArrow";
this.tableLayoutPanelArrow.RowCount = 1;
this.tableLayoutPanelArrow.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -3577,7 +3384,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSliderArrowsAndTrackHover.Controls.Add(this.pictureBoxSliderArrowsAndTrackHover, 0, 0);
this.tableLayoutPanelSliderArrowsAndTrackHover.Controls.Add(this.textBoxColorSliderArrowsAndTrackHover, 1, 0);
this.tableLayoutPanelSliderArrowsAndTrackHover.Controls.Add(this.labelSliderArrowsAndTrackHover, 2, 0);
this.tableLayoutPanelSliderArrowsAndTrackHover.Location = new System.Drawing.Point(3, 439);
this.tableLayoutPanelSliderArrowsAndTrackHover.Location = new System.Drawing.Point(3, 381);
this.tableLayoutPanelSliderArrowsAndTrackHover.Name = "tableLayoutPanelSliderArrowsAndTrackHover";
this.tableLayoutPanelSliderArrowsAndTrackHover.RowCount = 1;
this.tableLayoutPanelSliderArrowsAndTrackHover.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -3631,7 +3438,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSliderHover.Controls.Add(this.pictureBoxSliderHover, 0, 0);
this.tableLayoutPanelSliderHover.Controls.Add(this.textBoxColorSliderHover, 1, 0);
this.tableLayoutPanelSliderHover.Controls.Add(this.labelSliderHover, 2, 0);
this.tableLayoutPanelSliderHover.Location = new System.Drawing.Point(3, 410);
this.tableLayoutPanelSliderHover.Location = new System.Drawing.Point(3, 352);
this.tableLayoutPanelSliderHover.Name = "tableLayoutPanelSliderHover";
this.tableLayoutPanelSliderHover.RowCount = 1;
this.tableLayoutPanelSliderHover.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -3685,7 +3492,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSliderDragging.Controls.Add(this.pictureBoxSliderDragging, 0, 0);
this.tableLayoutPanelSliderDragging.Controls.Add(this.textBoxColorSliderDragging, 1, 0);
this.tableLayoutPanelSliderDragging.Controls.Add(this.labelSliderDragging, 2, 0);
this.tableLayoutPanelSliderDragging.Location = new System.Drawing.Point(3, 381);
this.tableLayoutPanelSliderDragging.Location = new System.Drawing.Point(3, 323);
this.tableLayoutPanelSliderDragging.Name = "tableLayoutPanelSliderDragging";
this.tableLayoutPanelSliderDragging.RowCount = 1;
this.tableLayoutPanelSliderDragging.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -3740,7 +3547,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSlider.Controls.Add(this.pictureBoxSlider, 0, 0);
this.tableLayoutPanelSlider.Controls.Add(this.textBoxColorSlider, 1, 0);
this.tableLayoutPanelSlider.Controls.Add(this.labelSlider, 2, 0);
this.tableLayoutPanelSlider.Location = new System.Drawing.Point(3, 352);
this.tableLayoutPanelSlider.Location = new System.Drawing.Point(3, 294);
this.tableLayoutPanelSlider.Name = "tableLayoutPanelSlider";
this.tableLayoutPanelSlider.RowCount = 1;
this.tableLayoutPanelSlider.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -3794,7 +3601,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelScrollbarBackground.Controls.Add(this.pictureBoxScrollbarBackground, 0, 0);
this.tableLayoutPanelScrollbarBackground.Controls.Add(this.textBoxColorScrollbarBackground, 1, 0);
this.tableLayoutPanelScrollbarBackground.Controls.Add(this.labelScrollbarBackground, 2, 0);
this.tableLayoutPanelScrollbarBackground.Location = new System.Drawing.Point(3, 323);
this.tableLayoutPanelScrollbarBackground.Location = new System.Drawing.Point(3, 265);
this.tableLayoutPanelScrollbarBackground.Name = "tableLayoutPanelScrollbarBackground";
this.tableLayoutPanelScrollbarBackground.RowCount = 1;
this.tableLayoutPanelScrollbarBackground.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -3840,66 +3647,12 @@ namespace SystemTrayMenu.UserInterface
// labelScrollbarLightMode
//
this.labelScrollbarLightMode.AutoSize = true;
this.labelScrollbarLightMode.Location = new System.Drawing.Point(3, 305);
this.labelScrollbarLightMode.Location = new System.Drawing.Point(3, 247);
this.labelScrollbarLightMode.Name = "labelScrollbarLightMode";
this.labelScrollbarLightMode.Size = new System.Drawing.Size(136, 15);
this.labelScrollbarLightMode.TabIndex = 3;
this.labelScrollbarLightMode.Text = "labelScrollbarLightMode";
//
// tableLayoutPanelWarning
//
this.tableLayoutPanelWarning.AutoSize = true;
this.tableLayoutPanelWarning.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.tableLayoutPanelWarning.ColumnCount = 3;
this.tableLayoutPanelWarning.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelWarning.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelWarning.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanelWarning.Controls.Add(this.labelWarning, 2, 0);
this.tableLayoutPanelWarning.Controls.Add(this.textBoxColorWarning, 1, 0);
this.tableLayoutPanelWarning.Controls.Add(this.pictureBoxWarning, 0, 0);
this.tableLayoutPanelWarning.Location = new System.Drawing.Point(3, 279);
this.tableLayoutPanelWarning.Name = "tableLayoutPanelWarning";
this.tableLayoutPanelWarning.RowCount = 1;
this.tableLayoutPanelWarning.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelWarning.Size = new System.Drawing.Size(175, 23);
this.tableLayoutPanelWarning.TabIndex = 2;
//
// labelWarning
//
this.labelWarning.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.labelWarning.AutoSize = true;
this.labelWarning.Location = new System.Drawing.Point(95, 4);
this.labelWarning.Name = "labelWarning";
this.labelWarning.Size = new System.Drawing.Size(77, 15);
this.labelWarning.TabIndex = 0;
this.labelWarning.Text = "labelWarning";
//
// textBoxColorWarning
//
this.textBoxColorWarning.Location = new System.Drawing.Point(23, 0);
this.textBoxColorWarning.Margin = new System.Windows.Forms.Padding(0);
this.textBoxColorWarning.MaxLength = 12;
this.textBoxColorWarning.Name = "textBoxColorWarning";
this.textBoxColorWarning.Size = new System.Drawing.Size(69, 23);
this.textBoxColorWarning.TabIndex = 2;
this.textBoxColorWarning.Text = "#ffffff";
this.textBoxColorWarning.TextChanged += new System.EventHandler(this.TextBoxColorsChanged);
this.textBoxColorWarning.KeyDown += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyDown);
this.textBoxColorWarning.KeyUp += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyUp);
//
// pictureBoxWarning
//
this.pictureBoxWarning.BackColor = System.Drawing.Color.White;
this.pictureBoxWarning.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBoxWarning.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBoxWarning.Location = new System.Drawing.Point(0, 0);
this.pictureBoxWarning.Margin = new System.Windows.Forms.Padding(0);
this.pictureBoxWarning.Name = "pictureBoxWarning";
this.pictureBoxWarning.Size = new System.Drawing.Size(23, 23);
this.pictureBoxWarning.TabIndex = 1;
this.pictureBoxWarning.TabStop = false;
this.pictureBoxWarning.Click += new System.EventHandler(this.PictureBoxClick);
//
// tableLayoutPanelSelectedItemBorder
//
this.tableLayoutPanelSelectedItemBorder.AutoSize = true;
@ -3911,7 +3664,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSelectedItemBorder.Controls.Add(this.pictureBoxSelectedItemBorder, 0, 0);
this.tableLayoutPanelSelectedItemBorder.Controls.Add(this.textBoxColorSelectedItemBorder, 1, 0);
this.tableLayoutPanelSelectedItemBorder.Controls.Add(this.labelSelectedItemBorder, 2, 0);
this.tableLayoutPanelSelectedItemBorder.Location = new System.Drawing.Point(3, 250);
this.tableLayoutPanelSelectedItemBorder.Location = new System.Drawing.Point(3, 221);
this.tableLayoutPanelSelectedItemBorder.Name = "tableLayoutPanelSelectedItemBorder";
this.tableLayoutPanelSelectedItemBorder.RowCount = 1;
this.tableLayoutPanelSelectedItemBorder.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -3965,7 +3718,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSelectedItem.Controls.Add(this.pictureBoxSelectedItem, 0, 0);
this.tableLayoutPanelSelectedItem.Controls.Add(this.textBoxColorSelectedItem, 1, 0);
this.tableLayoutPanelSelectedItem.Controls.Add(this.labelSelectedItem, 2, 0);
this.tableLayoutPanelSelectedItem.Location = new System.Drawing.Point(3, 221);
this.tableLayoutPanelSelectedItem.Location = new System.Drawing.Point(3, 192);
this.tableLayoutPanelSelectedItem.Name = "tableLayoutPanelSelectedItem";
this.tableLayoutPanelSelectedItem.RowCount = 1;
this.tableLayoutPanelSelectedItem.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -4019,7 +3772,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelOpenFolderBorder.Controls.Add(this.pictureBoxOpenFolderBorder, 0, 0);
this.tableLayoutPanelOpenFolderBorder.Controls.Add(this.textBoxColorOpenFolderBorder, 1, 0);
this.tableLayoutPanelOpenFolderBorder.Controls.Add(this.labelOpenFolderBorder, 2, 0);
this.tableLayoutPanelOpenFolderBorder.Location = new System.Drawing.Point(3, 192);
this.tableLayoutPanelOpenFolderBorder.Location = new System.Drawing.Point(3, 163);
this.tableLayoutPanelOpenFolderBorder.Name = "tableLayoutPanelOpenFolderBorder";
this.tableLayoutPanelOpenFolderBorder.RowCount = 1;
this.tableLayoutPanelOpenFolderBorder.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -4072,7 +3825,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelOpenFolder.Controls.Add(this.pictureBoxOpenFolder, 0, 0);
this.tableLayoutPanelOpenFolder.Controls.Add(this.textBoxColorOpenFolder, 1, 0);
this.tableLayoutPanelOpenFolder.Controls.Add(this.labelOpenFolder, 2, 0);
this.tableLayoutPanelOpenFolder.Location = new System.Drawing.Point(3, 163);
this.tableLayoutPanelOpenFolder.Location = new System.Drawing.Point(3, 134);
this.tableLayoutPanelOpenFolder.Name = "tableLayoutPanelOpenFolder";
this.tableLayoutPanelOpenFolder.RowCount = 1;
this.tableLayoutPanelOpenFolder.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -4126,7 +3879,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSearchField.Controls.Add(this.pictureBoxSearchField, 0, 0);
this.tableLayoutPanelSearchField.Controls.Add(this.textBoxColorSearchField, 1, 0);
this.tableLayoutPanelSearchField.Controls.Add(this.labelSearchField, 2, 0);
this.tableLayoutPanelSearchField.Location = new System.Drawing.Point(3, 134);
this.tableLayoutPanelSearchField.Location = new System.Drawing.Point(3, 105);
this.tableLayoutPanelSearchField.Name = "tableLayoutPanelSearchField";
this.tableLayoutPanelSearchField.RowCount = 1;
this.tableLayoutPanelSearchField.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -4408,9 +4161,6 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSelectedItemBorderDarkMode.ResumeLayout(false);
this.tableLayoutPanelSelectedItemBorderDarkMode.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSelectedItemBorderDarkMode)).EndInit();
this.tableLayoutPanelWarningDarkMode.ResumeLayout(false);
this.tableLayoutPanelWarningDarkMode.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWarningDarkMode)).EndInit();
this.tableLayoutPanelScrollbarBackgroundDarkMode.ResumeLayout(false);
this.tableLayoutPanelScrollbarBackgroundDarkMode.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxScrollbarBackgroundDarkMode)).EndInit();
@ -4441,9 +4191,6 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelArrowHoverBackgroundDarkMode.ResumeLayout(false);
this.tableLayoutPanelArrowHoverBackgroundDarkMode.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxArrowHoverBackgroundDarkMode)).EndInit();
this.tableLayoutPanelTitleDarkMode.ResumeLayout(false);
this.tableLayoutPanelTitleDarkMode.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxTitleDarkMode)).EndInit();
this.tableLayoutPanelBackgroundDarkMode.ResumeLayout(false);
this.tableLayoutPanelBackgroundDarkMode.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBackgroundDarkMode)).EndInit();
@ -4457,9 +4204,6 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelBackgroundBorder.ResumeLayout(false);
this.tableLayoutPanelBackgroundBorder.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBackgroundBorder)).EndInit();
this.tableLayoutPanelTitle.ResumeLayout(false);
this.tableLayoutPanelTitle.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxTitle)).EndInit();
this.tableLayoutPanelBackground.ResumeLayout(false);
this.tableLayoutPanelBackground.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBackground)).EndInit();
@ -4493,9 +4237,6 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelScrollbarBackground.ResumeLayout(false);
this.tableLayoutPanelScrollbarBackground.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxScrollbarBackground)).EndInit();
this.tableLayoutPanelWarning.ResumeLayout(false);
this.tableLayoutPanelWarning.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWarning)).EndInit();
this.tableLayoutPanelSelectedItemBorder.ResumeLayout(false);
this.tableLayoutPanelSelectedItemBorder.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxSelectedItemBorder)).EndInit();
@ -4579,14 +4320,10 @@ namespace SystemTrayMenu.UserInterface
private System.Windows.Forms.CheckBox checkBoxStayOpenWhenItemClicked;
private System.Windows.Forms.ColorDialog colorDialog;
private System.Windows.Forms.TextBox textBoxColorOpenFolder;
private System.Windows.Forms.TextBox textBoxColorWarning;
private System.Windows.Forms.TextBox textBoxColorBackground;
private System.Windows.Forms.TextBox textBoxColorTitle;
private System.Windows.Forms.TextBox textBoxColorSelectedItem;
private System.Windows.Forms.TextBox textBoxColorOpenFolderBorder;
private System.Windows.Forms.TextBox textBoxColorWarningDarkMode;
private System.Windows.Forms.TextBox textBoxColorBackgroundDarkMode;
private System.Windows.Forms.TextBox textBoxColorTitleDarkMode;
private System.Windows.Forms.TextBox textBoxColorSelecetedItemDarkMode;
private System.Windows.Forms.TextBox textBoxColorOpenFolderDarkMode;
private System.Windows.Forms.TextBox textBoxColorOpenFolderBorderDarkMode;
@ -4594,8 +4331,6 @@ namespace SystemTrayMenu.UserInterface
private System.Windows.Forms.TextBox textBoxColorSelectedItemBorderDarkMode;
private System.Windows.Forms.TextBox textBoxColorSearchFieldDarkMode;
private System.Windows.Forms.TextBox textBoxColorSearchField;
private System.Windows.Forms.Label labelWarning;
private System.Windows.Forms.Label labelTitle;
private System.Windows.Forms.Label labelBackground;
private System.Windows.Forms.Label labelSearchField;
private System.Windows.Forms.Label labelOpenFolder;
@ -4612,8 +4347,6 @@ namespace SystemTrayMenu.UserInterface
private System.Windows.Forms.NumericUpDown numericUpDownMenuHeight;
private System.Windows.Forms.Label labelMaxMenuHeight;
private System.Windows.Forms.Button buttonColorsDefault;
private System.Windows.Forms.PictureBox pictureBoxTitle;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelTitle;
private System.Windows.Forms.Label labelMenuLightMode;
private System.Windows.Forms.Label labelMenuDarkMode;
private System.Windows.Forms.Label labelScrollbarDarkMode;
@ -4640,18 +4373,10 @@ namespace SystemTrayMenu.UserInterface
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelBackgroundDarkMode;
private System.Windows.Forms.PictureBox pictureBoxBackgroundDarkMode;
private System.Windows.Forms.Label labelBackgroundDarkMode;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelTitleDarkMode;
private System.Windows.Forms.PictureBox pictureBoxTitleDarkMode;
private System.Windows.Forms.Label labelTitleDarkMode;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelWarningDarkMode;
private System.Windows.Forms.PictureBox pictureBoxWarningDarkMode;
private System.Windows.Forms.Label labelWarningDarkMode;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelScrollbarBackground;
private System.Windows.Forms.PictureBox pictureBoxScrollbarBackground;
private System.Windows.Forms.TextBox textBoxColorScrollbarBackground;
private System.Windows.Forms.Label labelScrollbarBackground;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelWarning;
private System.Windows.Forms.PictureBox pictureBoxWarning;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelSelectedItemBorder;
private System.Windows.Forms.PictureBox pictureBoxSelectedItemBorder;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelSelectedItem;

View file

@ -55,7 +55,6 @@ namespace SystemTrayMenu.UserInterface
// designer always resets it to 1
tabControl.SelectedIndex = 0;
CombineControls(textBoxColorTitle, pictureBoxTitle);
CombineControls(textBoxColorIcons, pictureBoxIcons);
CombineControls(textBoxColorBackground, pictureBoxBackground);
CombineControls(textBoxColorBackgroundBorder, pictureBoxBackgroundBorder);
@ -64,7 +63,6 @@ namespace SystemTrayMenu.UserInterface
CombineControls(textBoxColorOpenFolderBorder, pictureBoxOpenFolderBorder);
CombineControls(textBoxColorSelectedItem, pictureBoxSelectedItem);
CombineControls(textBoxColorSelectedItemBorder, pictureBoxSelectedItemBorder);
CombineControls(textBoxColorWarning, pictureBoxWarning);
CombineControls(textBoxColorScrollbarBackground, pictureBoxScrollbarBackground);
CombineControls(textBoxColorSlider, pictureBoxSlider);
CombineControls(textBoxColorSliderDragging, pictureBoxSliderDragging);
@ -76,7 +74,6 @@ namespace SystemTrayMenu.UserInterface
CombineControls(textBoxColorArrowHover, pictureBoxArrowHover);
CombineControls(textBoxColorArrowHoverBackground, pictureBoxArrowHoverBackground);
CombineControls(textBoxColorTitleDarkMode, pictureBoxTitleDarkMode);
CombineControls(textBoxColorIconsDarkMode, pictureBoxIconsDarkMode);
CombineControls(textBoxColorBackgroundDarkMode, pictureBoxBackgroundDarkMode);
CombineControls(textBoxColorBackgroundBorderDarkMode, pictureBoxBackgroundBorderDarkMode);
@ -85,7 +82,6 @@ namespace SystemTrayMenu.UserInterface
CombineControls(textBoxColorOpenFolderBorderDarkMode, pictureBoxOpenFolderBorderDarkMode);
CombineControls(textBoxColorSelecetedItemDarkMode, pictureColorBoxSelectedItemDarkMode);
CombineControls(textBoxColorSelectedItemBorderDarkMode, pictureBoxSelectedItemBorderDarkMode);
CombineControls(textBoxColorWarningDarkMode, pictureBoxWarningDarkMode);
CombineControls(textBoxColorScrollbarBackgroundDarkMode, pictureBoxScrollbarBackgroundDarkMode);
CombineControls(textBoxColorSliderDarkMode, pictureBoxSliderDarkMode);
CombineControls(textBoxColorSliderDraggingDarkMode, pictureBoxSliderDraggingDarkMode);
@ -173,8 +169,6 @@ namespace SystemTrayMenu.UserInterface
labelMenuDarkMode.Text = Translator.GetText("Menu");
labelScrollbarLightMode.Text = Translator.GetText("Scrollbar");
labelScrollbarDarkMode.Text = Translator.GetText("Scrollbar");
labelTitle.Text = Translator.GetText("Title");
labelTitleDarkMode.Text = Translator.GetText("Title");
labelIcons.Text = Translator.GetText("Icons");
labelIconsDarkMode.Text = Translator.GetText("Icons");
labelBackground.Text = Translator.GetText("Background");
@ -191,8 +185,6 @@ namespace SystemTrayMenu.UserInterface
labelSelectedItemDarkMode.Text = Translator.GetText("Selected item");
labelSelectedItemBorder.Text = Translator.GetText("Border of selected item");
labelSelectedItemBorderDarkMode.Text = Translator.GetText("Border of selected item");
labelWarning.Text = Translator.GetText("Warning");
labelWarningDarkMode.Text = Translator.GetText("Warning");
labelScrollbarBackground.Text = Translator.GetText("Background");
labelColorDarkModeScrollbarBackground.Text = Translator.GetText("Background");
labelSlider.Text = Translator.GetText("Slider");
@ -414,10 +406,6 @@ namespace SystemTrayMenu.UserInterface
textBoxColorOpenFolderDarkMode.Text = Settings.Default.ColorDarkModeOpenFolder;
textBoxColorOpenFolderBorder.Text = Settings.Default.ColorOpenFolderBorder;
textBoxColorOpenFolderBorderDarkMode.Text = Settings.Default.ColorDarkModeOpenFolderBorder;
textBoxColorWarning.Text = Settings.Default.ColorWarning;
textBoxColorWarningDarkMode.Text = Settings.Default.ColorDarkModeWarning;
textBoxColorTitle.Text = Settings.Default.ColorTitle;
textBoxColorTitleDarkMode.Text = Settings.Default.ColorDarkModeTitle;
textBoxColorIcons.Text = Settings.Default.ColorIcons;
textBoxColorIconsDarkMode.Text = Settings.Default.ColorDarkModeIcons;
textBoxColorBackground.Text = Settings.Default.ColorBackground;
@ -1076,10 +1064,6 @@ namespace SystemTrayMenu.UserInterface
Settings.Default.ColorDarkModeOpenFolder = textBoxColorOpenFolderDarkMode.Text;
Settings.Default.ColorOpenFolderBorder = textBoxColorOpenFolderBorder.Text;
Settings.Default.ColorDarkModeOpenFolderBorder = textBoxColorOpenFolderBorderDarkMode.Text;
Settings.Default.ColorWarning = textBoxColorWarning.Text;
Settings.Default.ColorDarkModeWarning = textBoxColorWarningDarkMode.Text;
Settings.Default.ColorTitle = textBoxColorTitle.Text;
Settings.Default.ColorDarkModeTitle = textBoxColorTitleDarkMode.Text;
Settings.Default.ColorIcons = textBoxColorIcons.Text;
Settings.Default.ColorDarkModeIcons = textBoxColorIconsDarkMode.Text;
Settings.Default.ColorBackground = textBoxColorBackground.Text;
@ -1134,7 +1118,6 @@ namespace SystemTrayMenu.UserInterface
private void ButtonDefaultColors_Click(object sender, EventArgs e)
{
textBoxColorTitle.Text = "#f0ffff";
textBoxColorIcons.Text = "#95a0a6";
textBoxColorOpenFolder.Text = "#C2F5DE";
textBoxColorOpenFolderBorder.Text = "#99FFA5";
@ -1143,7 +1126,6 @@ namespace SystemTrayMenu.UserInterface
textBoxColorSearchField.Text = "#ffffff";
textBoxColorSelectedItem.Text = "#CCE8FF";
textBoxColorSelectedItemBorder.Text = "#99D1FF";
textBoxColorWarning.Text = "#FFCCE8";
textBoxColorArrow.Text = "#606060";
textBoxColorArrowHoverBackground.Text = "#dadada";
textBoxColorArrowHover.Text = "#000000";
@ -1158,7 +1140,6 @@ namespace SystemTrayMenu.UserInterface
private void ButtonDefaultColorsDark_Click(object sender, EventArgs e)
{
textBoxColorTitleDarkMode.Text = "#2B2B2B";
textBoxColorIconsDarkMode.Text = "#95a0a6";
textBoxColorOpenFolderDarkMode.Text = "#14412A";
textBoxColorOpenFolderBorderDarkMode.Text = "#144B55";
@ -1167,7 +1148,6 @@ namespace SystemTrayMenu.UserInterface
textBoxColorSearchFieldDarkMode.Text = "#191919";
textBoxColorSelecetedItemDarkMode.Text = "#333333";
textBoxColorSelectedItemBorderDarkMode.Text = "#141D4B";
textBoxColorWarningDarkMode.Text = "#4B1834";
textBoxColorArrowDarkMode.Text = "#676767";
textBoxColorArrowHoverBackgroundDarkMode.Text = "#373737";
textBoxColorArrowHoverDarkMode.Text = "#676767";

View file

@ -70,6 +70,6 @@
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>158</value>
<value>106</value>
</metadata>
</root>

View file

@ -13,6 +13,8 @@ namespace SystemTrayMenu.UserInterface
{
InitializeComponent();
Icon = Config.GetAppIcon();
MaximumSize = new Size(10, 1);
Opacity = 0.01f;
SetLocation();
}