[Feature] Option maximum menu height (#181), version 1.0.17.51

This commit is contained in:
Markus Hofknecht 2021-05-29 09:45:59 +02:00
parent 27a018e5d0
commit bdaebea71a
13 changed files with 146 additions and 40 deletions

View file

@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.17.50")]
[assembly: AssemblyFileVersion("1.0.17.50")]
[assembly: AssemblyVersion("1.0.17.51")]
[assembly: AssemblyFileVersion("1.0.17.51")]

View file

@ -172,6 +172,22 @@ namespace SystemTrayMenu.Properties
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("600")]
public int MaximumMenuHeight
{
get
{
return ((int)(this["MaximumMenuHeight"]));
}
set
{
this["MaximumMenuHeight"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("true")]

View file

@ -105,6 +105,24 @@ namespace SystemTrayMenu.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Border of opened folder.
/// </summary>
internal static string Border_of_opened_folder {
get {
return ResourceManager.GetString("Border of opened folder", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Border of selected item.
/// </summary>
internal static string Border_of_selected_item {
get {
return ResourceManager.GetString("Border of selected item", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cancel.
/// </summary>
@ -395,29 +413,29 @@ namespace SystemTrayMenu.Resources {
}
/// <summary>
/// Looks up a localized string similar to Open assembly location.
/// Looks up a localized string similar to Open the assembly location.
/// </summary>
internal static string Open_assembly_location {
internal static string Open_the_assembly_location {
get {
return ResourceManager.GetString("Open the assembly location", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Open folder.
/// Looks up a localized string similar to Opened folder.
/// </summary>
internal static string Open_folder {
internal static string Opened_folder {
get {
return ResourceManager.GetString("Opened folder", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Open folder border.
/// Looks up a localized string similar to Pixels maximum menu height.
/// </summary>
internal static string Open_folder_border {
internal static string Pixels_maximum_menu_height {
get {
return ResourceManager.GetString("Border of opened folder", resourceCulture);
return ResourceManager.GetString("Pixels maximum menu height", resourceCulture);
}
}
@ -466,15 +484,6 @@ namespace SystemTrayMenu.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Selected item border.
/// </summary>
internal static string Selected_item_border {
get {
return ResourceManager.GetString("Border of selected item", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Settings.
/// </summary>
@ -485,7 +494,7 @@ namespace SystemTrayMenu.Resources {
}
/// <summary>
/// Looks up a localized string similar to Single click to open an item.
/// Looks up a localized string similar to Single click to open an item instead of double click.
/// </summary>
internal static string Single_click_to_start_item {
get {
@ -512,9 +521,9 @@ namespace SystemTrayMenu.Resources {
}
/// <summary>
/// Looks up a localized string similar to Store config at assembly location.
/// Looks up a localized string similar to Store config at the assembly location.
/// </summary>
internal static string Store_config_at_assembly_location {
internal static string Store_config_at_the_assembly_location {
get {
return ResourceManager.GetString("Store config at the assembly location", resourceCulture);
}

View file

@ -291,4 +291,7 @@
<data name="Open the assembly location" xml:space="preserve">
<value>Otevřete umístění sestavy</value>
</data>
<data name="Pixels maximum menu height" xml:space="preserve">
<value>Pixely maximální výška nabídky</value>
</data>
</root>

View file

@ -291,4 +291,7 @@
<data name="Open the assembly location" xml:space="preserve">
<value>Assembly-Speicherort öffnen</value>
</data>
<data name="Pixels maximum menu height" xml:space="preserve">
<value>Pixel maximale Menühöhe</value>
</data>
</root>

View file

@ -291,4 +291,7 @@
<data name="Open the assembly location" xml:space="preserve">
<value>Abra la ubicación de montaje</value>
</data>
<data name="Pixels maximum menu height" xml:space="preserve">
<value>Altura máximo de menú de píxeles</value>
</data>
</root>

View file

@ -201,7 +201,7 @@
<data name="Dark Mode always active" xml:space="preserve">
<value>Mode sombre toujours actif</value>
</data>
<data name="Advanced" xml:space="preserve">
<data name="Advanced" xml:space="preserve">
<value>Avancée</value>
</data>
<data name="Appear at mouse location" xml:space="preserve">
@ -291,4 +291,7 @@
<data name="Open the assembly location" xml:space="preserve">
<value>Ouvrez l'emplacement de l'assemblage</value>
</data>
<data name="Pixels maximum menu height" xml:space="preserve">
<value>Hauteur maximale du menu en pixels</value>
</data>
</root>

View file

@ -201,7 +201,7 @@
<data name="Dark Mode always active" xml:space="preserve">
<value>Modalità oscura sempre attiva</value>
</data>
<data name="Advanced" xml:space="preserve">
<data name="Advanced" xml:space="preserve">
<value>Avanzate</value>
</data>
<data name="Appear at mouse location" xml:space="preserve">
@ -291,4 +291,7 @@
<data name="Open the assembly location" xml:space="preserve">
<value>Aprire la posizione dell'assieme</value>
</data>
<data name="Pixels maximum menu height" xml:space="preserve">
<value>Altezza massima del menu in pixel</value>
</data>
</root>

View file

@ -291,4 +291,7 @@
<data name="Open the assembly location" xml:space="preserve">
<value>Open de installatielocatie</value>
</data>
</root>
<data name="Pixels maximum menu height" xml:space="preserve">
<value>Pixels maximale menuhoogte</value>
</data>
</root>

View file

@ -291,4 +291,7 @@
<data name="Open the assembly location" xml:space="preserve">
<value>Abra o local de montagem</value>
</data>
<data name="Pixels maximum menu height" xml:space="preserve">
<value>Altura máxima do menu em pixels</value>
</data>
</root>

View file

@ -291,4 +291,7 @@
<data name="Open the assembly location" xml:space="preserve">
<value>Open the assembly location</value>
</data>
<data name="Pixels maximum menu height" xml:space="preserve">
<value>Pixels maximum menu height</value>
</data>
</root>

View file

@ -65,6 +65,9 @@ namespace SystemTrayMenu.UserInterface
this.checkBoxOpenItemWithOneClick = new System.Windows.Forms.CheckBox();
this.groupBoxSizeAndLocation = new System.Windows.Forms.GroupBox();
this.tableLayoutPanelSizeAndLocation = new System.Windows.Forms.TableLayoutPanel();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.numericUpDownMenuHeight = new System.Windows.Forms.NumericUpDown();
this.labelMaxMenuHeight = new System.Windows.Forms.Label();
this.checkBoxAppearAtMouseLocation = new System.Windows.Forms.CheckBox();
this.tableLayoutPanelMaxMenuWidth = new System.Windows.Forms.TableLayoutPanel();
this.numericUpDownMenuWidth = new System.Windows.Forms.NumericUpDown();
@ -141,6 +144,8 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelClick.SuspendLayout();
this.groupBoxSizeAndLocation.SuspendLayout();
this.tableLayoutPanelSizeAndLocation.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMenuHeight)).BeginInit();
this.tableLayoutPanelMaxMenuWidth.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMenuWidth)).BeginInit();
this.groupBoxStaysOpen.SuspendLayout();
@ -173,7 +178,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelMain.RowCount = 2;
this.tableLayoutPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelMain.Size = new System.Drawing.Size(434, 447);
this.tableLayoutPanelMain.Size = new System.Drawing.Size(434, 478);
this.tableLayoutPanelMain.TabIndex = 0;
//
// tableLayoutPanelBottom
@ -187,7 +192,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelBottom.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelBottom.Controls.Add(this.buttonOk, 1, 0);
this.tableLayoutPanelBottom.Controls.Add(this.buttonCancel, 2, 0);
this.tableLayoutPanelBottom.Location = new System.Drawing.Point(3, 419);
this.tableLayoutPanelBottom.Location = new System.Drawing.Point(3, 450);
this.tableLayoutPanelBottom.Name = "tableLayoutPanelBottom";
this.tableLayoutPanelBottom.RowCount = 1;
this.tableLayoutPanelBottom.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -232,8 +237,8 @@ namespace SystemTrayMenu.UserInterface
this.tabControl.Location = new System.Drawing.Point(6, 3);
this.tabControl.Margin = new System.Windows.Forms.Padding(6, 3, 6, 3);
this.tabControl.Name = "tabControl";
this.tabControl.SelectedIndex = 2;
this.tabControl.Size = new System.Drawing.Size(422, 410);
this.tabControl.SelectedIndex = 1;
this.tabControl.Size = new System.Drawing.Size(422, 441);
this.tabControl.TabIndex = 0;
//
// tabPageGeneral
@ -242,7 +247,7 @@ namespace SystemTrayMenu.UserInterface
this.tabPageGeneral.Location = new System.Drawing.Point(4, 24);
this.tabPageGeneral.Name = "tabPageGeneral";
this.tabPageGeneral.Padding = new System.Windows.Forms.Padding(3);
this.tabPageGeneral.Size = new System.Drawing.Size(414, 382);
this.tabPageGeneral.Size = new System.Drawing.Size(414, 413);
this.tabPageGeneral.TabIndex = 0;
this.tabPageGeneral.Text = "tabPageGeneral";
this.tabPageGeneral.UseVisualStyleBackColor = true;
@ -267,7 +272,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelGeneral.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelGeneral.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelGeneral.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelGeneral.Size = new System.Drawing.Size(408, 376);
this.tableLayoutPanelGeneral.Size = new System.Drawing.Size(408, 407);
this.tableLayoutPanelGeneral.TabIndex = 0;
//
// groupBoxFolder
@ -576,7 +581,7 @@ namespace SystemTrayMenu.UserInterface
this.tabPageAdvanced.Location = new System.Drawing.Point(4, 24);
this.tabPageAdvanced.Name = "tabPageAdvanced";
this.tabPageAdvanced.Padding = new System.Windows.Forms.Padding(3);
this.tabPageAdvanced.Size = new System.Drawing.Size(414, 382);
this.tabPageAdvanced.Size = new System.Drawing.Size(414, 413);
this.tabPageAdvanced.TabIndex = 0;
this.tabPageAdvanced.Text = "tabPageAdvanced";
this.tabPageAdvanced.UseVisualStyleBackColor = true;
@ -601,7 +606,7 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelAdvanced.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelAdvanced.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelAdvanced.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelAdvanced.Size = new System.Drawing.Size(408, 376);
this.tableLayoutPanelAdvanced.Size = new System.Drawing.Size(408, 407);
this.tableLayoutPanelAdvanced.TabIndex = 0;
//
// groupBoxClick
@ -654,7 +659,7 @@ namespace SystemTrayMenu.UserInterface
this.groupBoxSizeAndLocation.MinimumSize = new System.Drawing.Size(400, 0);
this.groupBoxSizeAndLocation.Name = "groupBoxSizeAndLocation";
this.groupBoxSizeAndLocation.Padding = new System.Windows.Forms.Padding(3, 3, 3, 6);
this.groupBoxSizeAndLocation.Size = new System.Drawing.Size(400, 79);
this.groupBoxSizeAndLocation.Size = new System.Drawing.Size(400, 108);
this.groupBoxSizeAndLocation.TabIndex = 0;
this.groupBoxSizeAndLocation.TabStop = false;
this.groupBoxSizeAndLocation.Text = "groupBoxSizeAndLocation";
@ -665,17 +670,55 @@ namespace SystemTrayMenu.UserInterface
this.tableLayoutPanelSizeAndLocation.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.tableLayoutPanelSizeAndLocation.ColumnCount = 1;
this.tableLayoutPanelSizeAndLocation.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanelSizeAndLocation.Controls.Add(this.tableLayoutPanel1, 0, 2);
this.tableLayoutPanelSizeAndLocation.Controls.Add(this.checkBoxAppearAtMouseLocation, 0, 0);
this.tableLayoutPanelSizeAndLocation.Controls.Add(this.tableLayoutPanelMaxMenuWidth, 0, 1);
this.tableLayoutPanelSizeAndLocation.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanelSizeAndLocation.Location = new System.Drawing.Point(3, 19);
this.tableLayoutPanelSizeAndLocation.Name = "tableLayoutPanelSizeAndLocation";
this.tableLayoutPanelSizeAndLocation.RowCount = 2;
this.tableLayoutPanelSizeAndLocation.RowCount = 3;
this.tableLayoutPanelSizeAndLocation.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelSizeAndLocation.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelSizeAndLocation.Size = new System.Drawing.Size(394, 54);
this.tableLayoutPanelSizeAndLocation.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanelSizeAndLocation.Size = new System.Drawing.Size(394, 83);
this.tableLayoutPanelSizeAndLocation.TabIndex = 0;
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.tableLayoutPanel1.AutoSize = true;
this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.tableLayoutPanel1.ColumnCount = 2;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.Controls.Add(this.numericUpDownMenuHeight, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.labelMaxMenuHeight, 1, 0);
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 54);
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 1;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.Size = new System.Drawing.Size(394, 29);
this.tableLayoutPanel1.TabIndex = 0;
//
// numericUpDownMenuHeight
//
this.numericUpDownMenuHeight.Location = new System.Drawing.Point(3, 3);
this.numericUpDownMenuHeight.Name = "numericUpDownMenuHeight";
this.numericUpDownMenuHeight.Size = new System.Drawing.Size(55, 23);
this.numericUpDownMenuHeight.TabIndex = 1;
//
// labelMaxMenuHeight
//
this.labelMaxMenuHeight.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.labelMaxMenuHeight.AutoSize = true;
this.labelMaxMenuHeight.Location = new System.Drawing.Point(64, 7);
this.labelMaxMenuHeight.MaximumSize = new System.Drawing.Size(330, 0);
this.labelMaxMenuHeight.Name = "labelMaxMenuHeight";
this.labelMaxMenuHeight.Size = new System.Drawing.Size(122, 15);
this.labelMaxMenuHeight.TabIndex = 0;
this.labelMaxMenuHeight.Text = "labelMaxMenuHeight";
//
// checkBoxAppearAtMouseLocation
//
this.checkBoxAppearAtMouseLocation.AutoSize = true;
@ -728,7 +771,7 @@ namespace SystemTrayMenu.UserInterface
this.groupBoxStaysOpen.AutoSize = true;
this.groupBoxStaysOpen.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.groupBoxStaysOpen.Controls.Add(this.tableLayoutPanelStaysOpen);
this.groupBoxStaysOpen.Location = new System.Drawing.Point(3, 141);
this.groupBoxStaysOpen.Location = new System.Drawing.Point(3, 170);
this.groupBoxStaysOpen.MaximumSize = new System.Drawing.Size(400, 0);
this.groupBoxStaysOpen.MinimumSize = new System.Drawing.Size(400, 0);
this.groupBoxStaysOpen.Name = "groupBoxStaysOpen";
@ -823,7 +866,7 @@ namespace SystemTrayMenu.UserInterface
this.groupBoxOpenSubmenus.AutoSize = true;
this.groupBoxOpenSubmenus.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.groupBoxOpenSubmenus.Controls.Add(this.tableLayoutPanelTimeUntilOpen);
this.groupBoxOpenSubmenus.Location = new System.Drawing.Point(3, 251);
this.groupBoxOpenSubmenus.Location = new System.Drawing.Point(3, 280);
this.groupBoxOpenSubmenus.MaximumSize = new System.Drawing.Size(400, 0);
this.groupBoxOpenSubmenus.MinimumSize = new System.Drawing.Size(400, 0);
this.groupBoxOpenSubmenus.Name = "groupBoxOpenSubmenus";
@ -872,7 +915,7 @@ namespace SystemTrayMenu.UserInterface
//
this.buttonAdvancedDefault.AutoSize = true;
this.buttonAdvancedDefault.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.buttonAdvancedDefault.Location = new System.Drawing.Point(9, 317);
this.buttonAdvancedDefault.Location = new System.Drawing.Point(9, 346);
this.buttonAdvancedDefault.Margin = new System.Windows.Forms.Padding(9, 9, 3, 9);
this.buttonAdvancedDefault.MinimumSize = new System.Drawing.Size(75, 25);
this.buttonAdvancedDefault.Name = "buttonAdvancedDefault";
@ -888,7 +931,7 @@ namespace SystemTrayMenu.UserInterface
this.tabPageCustomize.Location = new System.Drawing.Point(4, 24);
this.tabPageCustomize.Name = "tabPageCustomize";
this.tabPageCustomize.Padding = new System.Windows.Forms.Padding(3);
this.tabPageCustomize.Size = new System.Drawing.Size(414, 382);
this.tabPageCustomize.Size = new System.Drawing.Size(414, 413);
this.tabPageCustomize.TabIndex = 0;
this.tabPageCustomize.Text = "tabPageCustomize";
this.tabPageCustomize.UseVisualStyleBackColor = true;
@ -1414,6 +1457,9 @@ namespace SystemTrayMenu.UserInterface
this.groupBoxSizeAndLocation.PerformLayout();
this.tableLayoutPanelSizeAndLocation.ResumeLayout(false);
this.tableLayoutPanelSizeAndLocation.PerformLayout();
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMenuHeight)).EndInit();
this.tableLayoutPanelMaxMenuWidth.ResumeLayout(false);
this.tableLayoutPanelMaxMenuWidth.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMenuWidth)).EndInit();
@ -1542,5 +1588,8 @@ namespace SystemTrayMenu.UserInterface
private System.Windows.Forms.Button buttonChangeRelativeFolder;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelRelativeFolderOpenAssembly;
private System.Windows.Forms.Button buttonOpenAssemblyLocation;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.NumericUpDown numericUpDownMenuHeight;
private System.Windows.Forms.Label labelMaxMenuHeight;
}
}

View file

@ -72,6 +72,7 @@ namespace SystemTrayMenu.UserInterface
groupBoxSizeAndLocation.Text = Translator.GetText("Size and location");
checkBoxAppearAtMouseLocation.Text = Translator.GetText("Appear at mouse location");
labelMaxMenuWidth.Text = Translator.GetText("Pixels maximum menu width");
labelMaxMenuHeight.Text = Translator.GetText("Pixels maximum menu height");
groupBoxStaysOpen.Text = Translator.GetText("Stays open");
checkBoxStayOpenWhenItemClicked.Text = Translator.GetText("If an item was clicked");
checkBoxStayOpenWhenFocusLost.Text = Translator.GetText("If the focus is lost and if the mouse is still on the menu");
@ -150,10 +151,15 @@ namespace SystemTrayMenu.UserInterface
checkBoxAppearAtMouseLocation.Checked = Settings.Default.AppearAtMouseLocation;
numericUpDownMenuWidth.Minimum = 50;
numericUpDownMenuWidth.Maximum = 500;
numericUpDownMenuWidth.Maximum = 1000;
numericUpDownMenuWidth.Increment = 10;
numericUpDownMenuWidth.Value = Settings.Default.MaximumMenuWidth;
numericUpDownMenuHeight.Minimum = 100;
numericUpDownMenuHeight.Maximum = 4000;
numericUpDownMenuHeight.Increment = 10;
numericUpDownMenuHeight.Value = Settings.Default.MaximumMenuHeight;
checkBoxStayOpenWhenItemClicked.Checked = Settings.Default.StaysOpenWhenItemClicked;
checkBoxStayOpenWhenFocusLost.Checked = Settings.Default.StaysOpenWhenFocusLost;
@ -361,6 +367,7 @@ namespace SystemTrayMenu.UserInterface
Settings.Default.OpenItemWithOneClick = checkBoxOpenItemWithOneClick.Checked;
Settings.Default.AppearAtMouseLocation = checkBoxAppearAtMouseLocation.Checked;
Settings.Default.MaximumMenuWidth = (int)numericUpDownMenuWidth.Value;
Settings.Default.MaximumMenuHeight = (int)numericUpDownMenuHeight.Value;
Settings.Default.StaysOpenWhenItemClicked = checkBoxStayOpenWhenItemClicked.Checked;
Settings.Default.StaysOpenWhenFocusLost = checkBoxStayOpenWhenFocusLost.Checked;
Settings.Default.TimeUntilCloses = (int)numericUpDownTimeUntilClose.Value;
@ -408,6 +415,7 @@ namespace SystemTrayMenu.UserInterface
checkBoxOpenItemWithOneClick.Checked = true;
checkBoxAppearAtMouseLocation.Checked = false;
numericUpDownMenuWidth.Value = 300;
numericUpDownMenuHeight.Value = 600;
checkBoxStayOpenWhenItemClicked.Checked = true;
checkBoxStayOpenWhenFocusLost.Checked = true;
numericUpDownTimeUntilClose.Value = 1000;