diff --git a/Business/Menus.cs b/Business/Menus.cs index 6ed9954..f4c7fe8 100644 --- a/Business/Menus.cs +++ b/Business/Menus.cs @@ -126,6 +126,7 @@ namespace SystemTrayMenu.Business break; case MenuDataValidity.Empty: + IconReader.MainPreload = false; if (!showingMessageBox) { showingMessageBox = true; @@ -138,6 +139,7 @@ namespace SystemTrayMenu.Business break; case MenuDataValidity.NoAccess: + IconReader.MainPreload = false; if (!showingMessageBox) { showingMessageBox = true; diff --git a/DataClasses/RowData.cs b/DataClasses/RowData.cs index 32f4afa..2b71778 100644 --- a/DataClasses/RowData.cs +++ b/DataClasses/RowData.cs @@ -230,6 +230,11 @@ namespace SystemTrayMenu.DataClasses icon = NotFoundIcon; } + if (HiddenEntry) + { + icon = IconReader.AddIconOverlay(icon, White50PercentageIcon); + } + return icon; } diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 27f8688..e4f6194 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -39,5 +39,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0.10")] -[assembly: AssemblyFileVersion("1.2.0.10")] +[assembly: AssemblyVersion("1.2.0.11")] +[assembly: AssemblyFileVersion("1.2.0.11")] diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs index bd46645..5341495 100644 --- a/Properties/Settings.Designer.cs +++ b/Properties/Settings.Designer.cs @@ -155,6 +155,54 @@ namespace SystemTrayMenu.Properties } } + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool SystemSettingsShowHiddenFiles + { + get + { + return ((bool)(this["SystemSettingsShowHiddenFiles"])); + } + set + { + this["SystemSettingsShowHiddenFiles"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool AlwaysShowHiddenFiles + { + get + { + return ((bool)(this["AlwaysShowHiddenFiles"])); + } + set + { + this["AlwaysShowHiddenFiles"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool NeverShowHiddenFiles + { + get + { + return ((bool)(this["NeverShowHiddenFiles"])); + } + set + { + this["NeverShowHiddenFiles"] = value; + } + } + [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] diff --git a/Resources/lang.Designer.cs b/Resources/lang.Designer.cs index 9d6c221..ab7274d 100644 --- a/Resources/lang.Designer.cs +++ b/Resources/lang.Designer.cs @@ -114,6 +114,15 @@ namespace SystemTrayMenu.Resources { } } + /// + /// Looks up a localized string similar to Always Show hidden files, folders or drives. + /// + internal static string Always_Show_hidden_files__folders_or_drives { + get { + return ResourceManager.GetString("Always Show hidden files, folders or drives", resourceCulture); + } + } + /// /// Looks up a localized string similar to Appearance. /// @@ -483,6 +492,15 @@ namespace SystemTrayMenu.Resources { } } + /// + /// Looks up a localized string similar to Hidden files and folders. + /// + internal static string Hidden_files_and_folders { + get { + return ResourceManager.GetString("Hidden files and folders", resourceCulture); + } + } + /// /// Looks up a localized string similar to Hotkey. /// @@ -646,6 +664,15 @@ namespace SystemTrayMenu.Resources { } } + /// + /// Looks up a localized string similar to Never show hidden files, folders or drives. + /// + internal static string Never_show_hidden_files__folders_or_drives { + get { + return ResourceManager.GetString("Never show hidden files, folders or drives", resourceCulture); + } + } + /// /// Looks up a localized string similar to OK. /// @@ -853,6 +880,15 @@ namespace SystemTrayMenu.Resources { } } + /// + /// Looks up a localized string similar to Size and location. + /// + internal static string Size_and_location { + get { + return ResourceManager.GetString("Size and location", resourceCulture); + } + } + /// /// Looks up a localized string similar to Slider. /// @@ -979,5 +1015,14 @@ namespace SystemTrayMenu.Resources { return ResourceManager.GetString("Use icon from folder", resourceCulture); } } + + /// + /// Looks up a localized string similar to Use operating system settings. + /// + internal static string Use_operating_system_settings { + get { + return ResourceManager.GetString("Use operating system settings", resourceCulture); + } + } } } diff --git a/Resources/lang.cs-CZ.resx b/Resources/lang.cs-CZ.resx index 91f6c27..33fffe7 100644 --- a/Resources/lang.cs-CZ.resx +++ b/Resources/lang.cs-CZ.resx @@ -423,4 +423,19 @@ Mezipaměti + + Vždy zobrazovat skryté soubory, složky nebo jednotky + + + Skryté soubory a složky + + + Nikdy nezobrazujte skryté soubory, složky nebo jednotky + + + Velikost a umístění + + + Použijte nastavení operačního systému + \ No newline at end of file diff --git a/Resources/lang.de-DE.resx b/Resources/lang.de-DE.resx index 7af972e..1ea9a3a 100644 --- a/Resources/lang.de-DE.resx +++ b/Resources/lang.de-DE.resx @@ -423,4 +423,19 @@ Zwischenspeicher + + Versteckte Dateien, Ordner oder Laufwerke immer anzeigen + + + Versteckte Dateien und Ordner + + + Versteckte Dateien, Ordner oder Laufwerke niemals anzeigen + + + Größe und Lage + + + Betriebssystemeinstellungen verwenden + \ No newline at end of file diff --git a/Resources/lang.es-ES.resx b/Resources/lang.es-ES.resx index a8e7154..256af4b 100644 --- a/Resources/lang.es-ES.resx +++ b/Resources/lang.es-ES.resx @@ -423,4 +423,19 @@ Cache + + Mostrar siempre archivos, carpetas o unidades ocultos + + + Archivos y carpetas ocultos + + + Nunca muestre archivos, carpetas o unidades ocultos + + + Tamaño y ubicación + + + Usar la configuración del sistema operativo + \ No newline at end of file diff --git a/Resources/lang.fa-IR.resx b/Resources/lang.fa-IR.resx index dc0ee43..7fa76d3 100644 --- a/Resources/lang.fa-IR.resx +++ b/Resources/lang.fa-IR.resx @@ -423,4 +423,19 @@ حافظه پنهان + + همیشه فایل‌ها، پوشه‌ها یا درایوهای مخفی نمایش داده شود + + + فایل ها و پوشه های مخفی + + + هرگز فایل ها، پوشه ها یا درایوهای مخفی را نشان ندهید + + + اندازه و مکان + + + از تنظیمات سیستم عامل استفاده کنید + \ No newline at end of file diff --git a/Resources/lang.fr-FR.resx b/Resources/lang.fr-FR.resx index 20d19f8..8195bcd 100644 --- a/Resources/lang.fr-FR.resx +++ b/Resources/lang.fr-FR.resx @@ -423,4 +423,19 @@ Cacher + + Toujours afficher les fichiers, dossiers ou lecteurs cachés + + + Fichiers et dossiers cachés + + + Ne jamais afficher les fichiers, dossiers ou lecteurs cachés + + + Taille et emplacement + + + Utiliser les paramètres du système d'exploitation + \ No newline at end of file diff --git a/Resources/lang.it-IT.resx b/Resources/lang.it-IT.resx index 92f390a..c9cab4c 100644 --- a/Resources/lang.it-IT.resx +++ b/Resources/lang.it-IT.resx @@ -423,4 +423,19 @@ Cache + + Mostra sempre file, cartelle o unità nascosti + + + File e cartelle nascosti + + + Non mostrare mai file, cartelle o unità nascosti + + + Dimensioni e posizione + + + Usa le impostazioni del sistema operativo + \ No newline at end of file diff --git a/Resources/lang.ja-JP.resx b/Resources/lang.ja-JP.resx index ca10553..8be383d 100644 --- a/Resources/lang.ja-JP.resx +++ b/Resources/lang.ja-JP.resx @@ -423,4 +423,19 @@ キャッシュ + + 隠しファイル、フォルダ、またはドライブを常に表示する + + + 隠しファイルと隠しフォルダー + + + 隠しファイル、フォルダ、またはドライブを表示しないでください + + + サイズと場所 + + + オペレーティングシステムの設定を使用する + \ No newline at end of file diff --git a/Resources/lang.ko-KR.resx b/Resources/lang.ko-KR.resx index 80560e5..5dd8969 100644 --- a/Resources/lang.ko-KR.resx +++ b/Resources/lang.ko-KR.resx @@ -423,4 +423,19 @@ 은닉처 + + 항상 숨김 파일, 폴더 또는 드라이브 표시 + + + 숨겨진 파일 및 폴더 + + + 숨김 파일, 폴더 또는 드라이브를 표시하지 않음 + + + 크기 및 위치 + + + 운영 체제 설정 사용 + \ No newline at end of file diff --git a/Resources/lang.nl-NL.resx b/Resources/lang.nl-NL.resx index 9dfe896..6180396 100644 --- a/Resources/lang.nl-NL.resx +++ b/Resources/lang.nl-NL.resx @@ -423,4 +423,19 @@ Cache + + Altijd verborgen bestanden, mappen of stations weergeven + + + Verborgen bestanden en mappen + + + Nooit verborgen bestanden, mappen of stations weergeven + + + Grootte en locatie + + + Instellingen van het besturingssysteem gebruiken + \ No newline at end of file diff --git a/Resources/lang.pt-BR.resx b/Resources/lang.pt-BR.resx index ea9f3e3..04763da 100644 --- a/Resources/lang.pt-BR.resx +++ b/Resources/lang.pt-BR.resx @@ -423,4 +423,19 @@ Cache + + Sempre mostrar arquivos, pastas ou unidades ocultas + + + Arquivos e pastas ocultos + + + Nunca mostre arquivos, pastas ou drives ocultos + + + Tamanho e localização + + + Use as configurações do sistema operacional + \ No newline at end of file diff --git a/Resources/lang.resx b/Resources/lang.resx index 7b638ec..85b2da5 100644 --- a/Resources/lang.resx +++ b/Resources/lang.resx @@ -423,4 +423,19 @@ Cache + + Always Show hidden files, folders or drives + + + Hidden files and folders + + + Never show hidden files, folders or drives + + + Size and location + + + Use operating system settings + \ No newline at end of file diff --git a/Resources/lang.ru-RU.resx b/Resources/lang.ru-RU.resx index 07277c9..21b5cac 100644 --- a/Resources/lang.ru-RU.resx +++ b/Resources/lang.ru-RU.resx @@ -423,4 +423,19 @@ Кеш + + Всегда показывать скрытые файлы, папки или диски + + + Скрытые файлы и папки + + + Никогда не показывать скрытые файлы, папки или диски + + + Размер и расположение + + + Использовать настройки операционной системы + \ No newline at end of file diff --git a/Resources/lang.tr-TR.resx b/Resources/lang.tr-TR.resx index 5c25f7c..10dfbbb 100644 --- a/Resources/lang.tr-TR.resx +++ b/Resources/lang.tr-TR.resx @@ -423,4 +423,19 @@ Önbellek + + Gizli dosyaları, klasörleri veya sürücüleri her zaman göster + + + Gizli dosya ve klasörler + + + Gizli dosyaları, klasörleri veya sürücüleri asla gösterme + + + Boyut ve konum + + + İşletim sistemi ayarlarını kullan + \ No newline at end of file diff --git a/Resources/lang.vi-VN.resx b/Resources/lang.vi-VN.resx index 9c5ad66..380a851 100644 --- a/Resources/lang.vi-VN.resx +++ b/Resources/lang.vi-VN.resx @@ -423,4 +423,19 @@ Bộ nhớ đệm + + Luôn hiển thị các tệp, thư mục hoặc ổ đĩa ẩn + + + Các tập tin và thư mục ẩn + + + Không bao giờ hiển thị các tệp, thư mục hoặc ổ đĩa ẩn + + + Kích thước và vị trí + + + Sử dụng cài đặt hệ điều hành + \ No newline at end of file diff --git a/Resources/lang.zh-CN.resx b/Resources/lang.zh-CN.resx index f76bf30..9b6df09 100644 --- a/Resources/lang.zh-CN.resx +++ b/Resources/lang.zh-CN.resx @@ -423,4 +423,19 @@ 缓存 + + 始终显示隐藏的文件、文件夹或驱动器 + + + 隐藏的文件和文件夹 + + + 从不显示隐藏的文件、文件夹或驱动器 + + + 大小和位置 + + + 使用操作系统设置 + \ No newline at end of file diff --git a/UserInterface/SettingsForm.Designer.cs b/UserInterface/SettingsForm.Designer.cs index 8e7633c..f257579 100644 --- a/UserInterface/SettingsForm.Designer.cs +++ b/UserInterface/SettingsForm.Designer.cs @@ -60,27 +60,15 @@ namespace SystemTrayMenu.UserInterface this.groupBoxLanguage = new System.Windows.Forms.GroupBox(); this.tableLayoutPanelLanguage = new System.Windows.Forms.TableLayoutPanel(); this.comboBoxLanguage = new System.Windows.Forms.ComboBox(); - this.tabControlFolders = new System.Windows.Forms.TabPage(); - this.tableLayoutPanelFoldersInRootFolder = new System.Windows.Forms.TableLayoutPanel(); - this.groupBoxFoldersInRootFolder = new System.Windows.Forms.GroupBox(); - this.tableLayoutPanelFolderToRootFoldersList7 = new System.Windows.Forms.TableLayoutPanel(); - this.tableLayoutPanelFolderToRootFolder = new System.Windows.Forms.TableLayoutPanel(); - this.buttonAddFolderToRootFolder = new System.Windows.Forms.Button(); - this.buttonRemoveFolder = new System.Windows.Forms.Button(); - this.dataGridViewFolders = new System.Windows.Forms.DataGridView(); - this.ColumnFolder = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ColumnRecursiveLevel = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.ColumnOnlyFiles = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.tableLayoutPanelAddSampleStartMenuFolder = new System.Windows.Forms.TableLayoutPanel(); - this.buttonAddSampleStartMenuFolder = new System.Windows.Forms.Button(); - this.checkBoxGenerateShortcutsToDrives = new System.Windows.Forms.CheckBox(); - this.buttonDefaultFolders = new System.Windows.Forms.Button(); - this.tabPageAdvanced = new System.Windows.Forms.TabPage(); - this.tableLayoutPanelAdvanced = new System.Windows.Forms.TableLayoutPanel(); - this.groupBoxClick = new System.Windows.Forms.GroupBox(); - this.tableLayoutPanelClick = new System.Windows.Forms.TableLayoutPanel(); - this.checkBoxOpenItemWithOneClick = new System.Windows.Forms.CheckBox(); - this.checkBoxShowInTaskbar = new System.Windows.Forms.CheckBox(); + this.tabPageSizeAndLocation = new System.Windows.Forms.TabPage(); + this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); + this.buttonSizeAndLocationDefault = new System.Windows.Forms.Button(); + this.groupBoxMenuAppearAt = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanelMenuAppearAt = new System.Windows.Forms.TableLayoutPanel(); + this.radioButtonUseCustomLocation = new System.Windows.Forms.RadioButton(); + this.radioButtonAppearAtTheBottomLeft = new System.Windows.Forms.RadioButton(); + this.radioButtonAppearAtTheBottomRight = new System.Windows.Forms.RadioButton(); + this.radioButtonAppearAtMouseLocation = new System.Windows.Forms.RadioButton(); this.groupBoxSize = new System.Windows.Forms.GroupBox(); this.tableLayoutPanelSize = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanelRowHeighteInPercentage = new System.Windows.Forms.TableLayoutPanel(); @@ -95,13 +83,33 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelMaxMenuWidth = new System.Windows.Forms.TableLayoutPanel(); this.numericUpDownMenuWidth = new System.Windows.Forms.NumericUpDown(); this.labelMaxMenuWidth = new System.Windows.Forms.Label(); + this.tabPageAdvanced = new System.Windows.Forms.TabPage(); + this.tableLayoutPanelAdvanced = new System.Windows.Forms.TableLayoutPanel(); + this.groupBoxHiddenFilesAndFolders = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.radioButtonAlwaysShowHiddenFiles = new System.Windows.Forms.RadioButton(); + this.radioButtonNeverShowHiddenFiles = new System.Windows.Forms.RadioButton(); + this.radioButtonSystemSettingsShowHiddenFiles = new System.Windows.Forms.RadioButton(); + this.groupBoxClick = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanelClick = new System.Windows.Forms.TableLayoutPanel(); + this.checkBoxOpenItemWithOneClick = new System.Windows.Forms.CheckBox(); + this.checkBoxShowInTaskbar = new System.Windows.Forms.CheckBox(); this.buttonAdvancedDefault = new System.Windows.Forms.Button(); - this.groupBoxMenuAppearAt = new System.Windows.Forms.GroupBox(); - this.tableLayoutPanelMenuAppearAt = new System.Windows.Forms.TableLayoutPanel(); - this.radioButtonUseCustomLocation = new System.Windows.Forms.RadioButton(); - this.radioButtonAppearAtTheBottomLeft = new System.Windows.Forms.RadioButton(); - this.radioButtonAppearAtTheBottomRight = new System.Windows.Forms.RadioButton(); - this.radioButtonAppearAtMouseLocation = new System.Windows.Forms.RadioButton(); + this.tabPageFolders = new System.Windows.Forms.TabPage(); + this.tableLayoutPanelFoldersInRootFolder = new System.Windows.Forms.TableLayoutPanel(); + this.groupBoxFoldersInRootFolder = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanelFolderToRootFoldersList7 = new System.Windows.Forms.TableLayoutPanel(); + this.tableLayoutPanelFolderToRootFolder = new System.Windows.Forms.TableLayoutPanel(); + this.buttonAddFolderToRootFolder = new System.Windows.Forms.Button(); + this.buttonRemoveFolder = new System.Windows.Forms.Button(); + this.dataGridViewFolders = new System.Windows.Forms.DataGridView(); + this.ColumnFolder = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ColumnRecursiveLevel = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.ColumnOnlyFiles = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.tableLayoutPanelAddSampleStartMenuFolder = new System.Windows.Forms.TableLayoutPanel(); + this.buttonAddSampleStartMenuFolder = new System.Windows.Forms.Button(); + this.checkBoxGenerateShortcutsToDrives = new System.Windows.Forms.CheckBox(); + this.buttonDefaultFolders = new System.Windows.Forms.Button(); this.tabPageExpert = new System.Windows.Forms.TabPage(); this.tableLayoutPanelExpert = new System.Windows.Forms.TableLayoutPanel(); this.groupBoxCache = new System.Windows.Forms.GroupBox(); @@ -306,17 +314,10 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelHotkey.SuspendLayout(); this.groupBoxLanguage.SuspendLayout(); this.tableLayoutPanelLanguage.SuspendLayout(); - this.tabControlFolders.SuspendLayout(); - this.tableLayoutPanelFoldersInRootFolder.SuspendLayout(); - this.groupBoxFoldersInRootFolder.SuspendLayout(); - this.tableLayoutPanelFolderToRootFoldersList7.SuspendLayout(); - this.tableLayoutPanelFolderToRootFolder.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dataGridViewFolders)).BeginInit(); - this.tableLayoutPanelAddSampleStartMenuFolder.SuspendLayout(); - this.tabPageAdvanced.SuspendLayout(); - this.tableLayoutPanelAdvanced.SuspendLayout(); - this.groupBoxClick.SuspendLayout(); - this.tableLayoutPanelClick.SuspendLayout(); + this.tabPageSizeAndLocation.SuspendLayout(); + this.tableLayoutPanel2.SuspendLayout(); + this.groupBoxMenuAppearAt.SuspendLayout(); + this.tableLayoutPanelMenuAppearAt.SuspendLayout(); this.groupBoxSize.SuspendLayout(); this.tableLayoutPanelSize.SuspendLayout(); this.tableLayoutPanelRowHeighteInPercentage.SuspendLayout(); @@ -327,8 +328,19 @@ namespace SystemTrayMenu.UserInterface ((System.ComponentModel.ISupportInitialize)(this.numericUpDownMenuHeight)).BeginInit(); this.tableLayoutPanelMaxMenuWidth.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownMenuWidth)).BeginInit(); - this.groupBoxMenuAppearAt.SuspendLayout(); - this.tableLayoutPanelMenuAppearAt.SuspendLayout(); + this.tabPageAdvanced.SuspendLayout(); + this.tableLayoutPanelAdvanced.SuspendLayout(); + this.groupBoxHiddenFilesAndFolders.SuspendLayout(); + this.tableLayoutPanel1.SuspendLayout(); + this.groupBoxClick.SuspendLayout(); + this.tableLayoutPanelClick.SuspendLayout(); + this.tabPageFolders.SuspendLayout(); + this.tableLayoutPanelFoldersInRootFolder.SuspendLayout(); + this.groupBoxFoldersInRootFolder.SuspendLayout(); + this.tableLayoutPanelFolderToRootFoldersList7.SuspendLayout(); + this.tableLayoutPanelFolderToRootFolder.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridViewFolders)).BeginInit(); + this.tableLayoutPanelAddSampleStartMenuFolder.SuspendLayout(); this.tabPageExpert.SuspendLayout(); this.tableLayoutPanelExpert.SuspendLayout(); this.groupBoxCache.SuspendLayout(); @@ -446,8 +458,9 @@ namespace SystemTrayMenu.UserInterface // tabControl // this.tabControl.Controls.Add(this.tabPageGeneral); - this.tabControl.Controls.Add(this.tabControlFolders); + this.tabControl.Controls.Add(this.tabPageSizeAndLocation); this.tabControl.Controls.Add(this.tabPageAdvanced); + this.tabControl.Controls.Add(this.tabPageFolders); this.tabControl.Controls.Add(this.tabPageExpert); this.tabControl.Controls.Add(this.tabPageCustomize); this.tabControl.Location = new System.Drawing.Point(6, 3); @@ -859,16 +872,498 @@ namespace SystemTrayMenu.UserInterface this.comboBoxLanguage.Size = new System.Drawing.Size(200, 23); this.comboBoxLanguage.TabIndex = 13; // - // tabControlFolders + // tabPageSizeAndLocation // - this.tabControlFolders.Controls.Add(this.tableLayoutPanelFoldersInRootFolder); - this.tabControlFolders.Location = new System.Drawing.Point(4, 24); - this.tabControlFolders.Name = "tabControlFolders"; - this.tabControlFolders.Padding = new System.Windows.Forms.Padding(3); - this.tabControlFolders.Size = new System.Drawing.Size(414, 413); - this.tabControlFolders.TabIndex = 2; - this.tabControlFolders.Text = "tabControlFolders"; - this.tabControlFolders.UseVisualStyleBackColor = true; + this.tabPageSizeAndLocation.Controls.Add(this.tableLayoutPanel2); + this.tabPageSizeAndLocation.Location = new System.Drawing.Point(4, 24); + this.tabPageSizeAndLocation.Name = "tabPageSizeAndLocation"; + this.tabPageSizeAndLocation.Padding = new System.Windows.Forms.Padding(3); + this.tabPageSizeAndLocation.Size = new System.Drawing.Size(414, 413); + this.tabPageSizeAndLocation.TabIndex = 3; + this.tabPageSizeAndLocation.Text = "tabPageSizeAndLocation"; + this.tabPageSizeAndLocation.UseVisualStyleBackColor = true; + // + // tableLayoutPanel2 + // + this.tableLayoutPanel2.AutoSize = true; + this.tableLayoutPanel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanel2.ColumnCount = 1; + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel2.Controls.Add(this.buttonSizeAndLocationDefault, 0, 2); + this.tableLayoutPanel2.Controls.Add(this.groupBoxMenuAppearAt, 0, 1); + this.tableLayoutPanel2.Controls.Add(this.groupBoxSize, 0, 0); + this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 3); + this.tableLayoutPanel2.Name = "tableLayoutPanel2"; + this.tableLayoutPanel2.RowCount = 3; + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel2.Size = new System.Drawing.Size(408, 407); + this.tableLayoutPanel2.TabIndex = 1; + // + // buttonSizeAndLocationDefault + // + this.buttonSizeAndLocationDefault.AutoSize = true; + this.buttonSizeAndLocationDefault.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.buttonSizeAndLocationDefault.Location = new System.Drawing.Point(9, 284); + this.buttonSizeAndLocationDefault.Margin = new System.Windows.Forms.Padding(9, 9, 3, 9); + this.buttonSizeAndLocationDefault.MinimumSize = new System.Drawing.Size(75, 25); + this.buttonSizeAndLocationDefault.Name = "buttonSizeAndLocationDefault"; + this.buttonSizeAndLocationDefault.Size = new System.Drawing.Size(179, 25); + this.buttonSizeAndLocationDefault.TabIndex = 0; + this.buttonSizeAndLocationDefault.Text = "buttonSizeAndLocationDefault"; + this.buttonSizeAndLocationDefault.UseVisualStyleBackColor = true; + this.buttonSizeAndLocationDefault.Click += new System.EventHandler(this.ButtonSizeAndLocationDefault_Click); + // + // groupBoxMenuAppearAt + // + this.groupBoxMenuAppearAt.AutoSize = true; + this.groupBoxMenuAppearAt.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.groupBoxMenuAppearAt.Controls.Add(this.tableLayoutPanelMenuAppearAt); + this.groupBoxMenuAppearAt.Location = new System.Drawing.Point(3, 150); + this.groupBoxMenuAppearAt.MaximumSize = new System.Drawing.Size(400, 0); + this.groupBoxMenuAppearAt.MinimumSize = new System.Drawing.Size(400, 0); + this.groupBoxMenuAppearAt.Name = "groupBoxMenuAppearAt"; + this.groupBoxMenuAppearAt.Size = new System.Drawing.Size(400, 122); + this.groupBoxMenuAppearAt.TabIndex = 1; + this.groupBoxMenuAppearAt.TabStop = false; + this.groupBoxMenuAppearAt.Text = "groupBoxMenuAppearAt"; + // + // tableLayoutPanelMenuAppearAt + // + this.tableLayoutPanelMenuAppearAt.AutoSize = true; + this.tableLayoutPanelMenuAppearAt.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanelMenuAppearAt.ColumnCount = 1; + this.tableLayoutPanelMenuAppearAt.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanelMenuAppearAt.Controls.Add(this.radioButtonUseCustomLocation, 0, 2); + this.tableLayoutPanelMenuAppearAt.Controls.Add(this.radioButtonAppearAtTheBottomLeft, 0, 1); + this.tableLayoutPanelMenuAppearAt.Controls.Add(this.radioButtonAppearAtTheBottomRight, 0, 0); + this.tableLayoutPanelMenuAppearAt.Controls.Add(this.radioButtonAppearAtMouseLocation, 0, 3); + this.tableLayoutPanelMenuAppearAt.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanelMenuAppearAt.Location = new System.Drawing.Point(3, 19); + this.tableLayoutPanelMenuAppearAt.Name = "tableLayoutPanelMenuAppearAt"; + this.tableLayoutPanelMenuAppearAt.RowCount = 4; + this.tableLayoutPanelMenuAppearAt.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelMenuAppearAt.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelMenuAppearAt.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelMenuAppearAt.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelMenuAppearAt.Size = new System.Drawing.Size(394, 100); + this.tableLayoutPanelMenuAppearAt.TabIndex = 1; + // + // radioButtonUseCustomLocation + // + this.radioButtonUseCustomLocation.AutoSize = true; + this.radioButtonUseCustomLocation.Dock = System.Windows.Forms.DockStyle.Fill; + this.radioButtonUseCustomLocation.Location = new System.Drawing.Point(3, 53); + this.radioButtonUseCustomLocation.Name = "radioButtonUseCustomLocation"; + this.radioButtonUseCustomLocation.Size = new System.Drawing.Size(388, 19); + this.radioButtonUseCustomLocation.TabIndex = 2; + this.radioButtonUseCustomLocation.TabStop = true; + this.radioButtonUseCustomLocation.Text = "radioButtonUseCustomLocation"; + this.radioButtonUseCustomLocation.UseVisualStyleBackColor = true; + // + // radioButtonAppearAtTheBottomLeft + // + this.radioButtonAppearAtTheBottomLeft.AutoSize = true; + this.radioButtonAppearAtTheBottomLeft.Dock = System.Windows.Forms.DockStyle.Fill; + this.radioButtonAppearAtTheBottomLeft.Location = new System.Drawing.Point(3, 28); + this.radioButtonAppearAtTheBottomLeft.Name = "radioButtonAppearAtTheBottomLeft"; + this.radioButtonAppearAtTheBottomLeft.Size = new System.Drawing.Size(388, 19); + this.radioButtonAppearAtTheBottomLeft.TabIndex = 1; + this.radioButtonAppearAtTheBottomLeft.TabStop = true; + this.radioButtonAppearAtTheBottomLeft.Text = "radioButtonradioButtonAppearAtTheBottomLeft"; + this.radioButtonAppearAtTheBottomLeft.UseVisualStyleBackColor = true; + // + // radioButtonAppearAtTheBottomRight + // + this.radioButtonAppearAtTheBottomRight.AutoSize = true; + this.radioButtonAppearAtTheBottomRight.Dock = System.Windows.Forms.DockStyle.Fill; + this.radioButtonAppearAtTheBottomRight.Location = new System.Drawing.Point(3, 3); + this.radioButtonAppearAtTheBottomRight.Name = "radioButtonAppearAtTheBottomRight"; + this.radioButtonAppearAtTheBottomRight.Size = new System.Drawing.Size(388, 19); + this.radioButtonAppearAtTheBottomRight.TabIndex = 2; + this.radioButtonAppearAtTheBottomRight.TabStop = true; + this.radioButtonAppearAtTheBottomRight.Text = "radioButtonAppearAtTheBottomRight"; + this.radioButtonAppearAtTheBottomRight.UseVisualStyleBackColor = true; + // + // radioButtonAppearAtMouseLocation + // + this.radioButtonAppearAtMouseLocation.AutoSize = true; + this.radioButtonAppearAtMouseLocation.Dock = System.Windows.Forms.DockStyle.Fill; + this.radioButtonAppearAtMouseLocation.Location = new System.Drawing.Point(3, 78); + this.radioButtonAppearAtMouseLocation.Name = "radioButtonAppearAtMouseLocation"; + this.radioButtonAppearAtMouseLocation.Size = new System.Drawing.Size(388, 19); + this.radioButtonAppearAtMouseLocation.TabIndex = 3; + this.radioButtonAppearAtMouseLocation.TabStop = true; + this.radioButtonAppearAtMouseLocation.Text = "radioButtonAppearAtMouseLocation"; + this.radioButtonAppearAtMouseLocation.UseVisualStyleBackColor = true; + // + // groupBoxSize + // + this.groupBoxSize.AutoSize = true; + this.groupBoxSize.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.groupBoxSize.Controls.Add(this.tableLayoutPanelSize); + this.groupBoxSize.Location = new System.Drawing.Point(3, 3); + this.groupBoxSize.MaximumSize = new System.Drawing.Size(400, 0); + this.groupBoxSize.MinimumSize = new System.Drawing.Size(400, 0); + this.groupBoxSize.Name = "groupBoxSize"; + this.groupBoxSize.Padding = new System.Windows.Forms.Padding(3, 3, 3, 6); + this.groupBoxSize.Size = new System.Drawing.Size(400, 141); + this.groupBoxSize.TabIndex = 0; + this.groupBoxSize.TabStop = false; + this.groupBoxSize.Text = "groupBoxSize"; + // + // tableLayoutPanelSize + // + this.tableLayoutPanelSize.AutoSize = true; + this.tableLayoutPanelSize.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanelSize.ColumnCount = 1; + this.tableLayoutPanelSize.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelSize.Controls.Add(this.tableLayoutPanelRowHeighteInPercentage, 0, 1); + this.tableLayoutPanelSize.Controls.Add(this.tableLayoutPanelSizeInPercentage, 0, 0); + this.tableLayoutPanelSize.Controls.Add(this.tableLayoutPanelMenuHeight, 0, 3); + this.tableLayoutPanelSize.Controls.Add(this.tableLayoutPanelMaxMenuWidth, 0, 2); + this.tableLayoutPanelSize.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanelSize.Location = new System.Drawing.Point(3, 19); + this.tableLayoutPanelSize.Name = "tableLayoutPanelSize"; + this.tableLayoutPanelSize.RowCount = 4; + this.tableLayoutPanelSize.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelSize.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelSize.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelSize.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelSize.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanelSize.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanelSize.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanelSize.Size = new System.Drawing.Size(394, 116); + this.tableLayoutPanelSize.TabIndex = 0; + // + // tableLayoutPanelRowHeighteInPercentage + // + this.tableLayoutPanelRowHeighteInPercentage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.tableLayoutPanelRowHeighteInPercentage.AutoSize = true; + this.tableLayoutPanelRowHeighteInPercentage.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanelRowHeighteInPercentage.ColumnCount = 2; + this.tableLayoutPanelRowHeighteInPercentage.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelRowHeighteInPercentage.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelRowHeighteInPercentage.Controls.Add(this.numericUpDownRowHeighteInPercentage, 0, 0); + this.tableLayoutPanelRowHeighteInPercentage.Controls.Add(this.labelRowHeightInPercentage, 1, 0); + this.tableLayoutPanelRowHeighteInPercentage.Location = new System.Drawing.Point(0, 29); + this.tableLayoutPanelRowHeighteInPercentage.Margin = new System.Windows.Forms.Padding(0); + this.tableLayoutPanelRowHeighteInPercentage.Name = "tableLayoutPanelRowHeighteInPercentage"; + this.tableLayoutPanelRowHeighteInPercentage.RowCount = 1; + this.tableLayoutPanelRowHeighteInPercentage.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelRowHeighteInPercentage.Size = new System.Drawing.Size(394, 29); + this.tableLayoutPanelRowHeighteInPercentage.TabIndex = 3; + // + // numericUpDownRowHeighteInPercentage + // + this.numericUpDownRowHeighteInPercentage.Location = new System.Drawing.Point(3, 3); + this.numericUpDownRowHeighteInPercentage.Name = "numericUpDownRowHeighteInPercentage"; + this.numericUpDownRowHeighteInPercentage.Size = new System.Drawing.Size(55, 23); + this.numericUpDownRowHeighteInPercentage.TabIndex = 1; + // + // labelRowHeightInPercentage + // + this.labelRowHeightInPercentage.Anchor = System.Windows.Forms.AnchorStyles.Left; + this.labelRowHeightInPercentage.AutoSize = true; + this.labelRowHeightInPercentage.Location = new System.Drawing.Point(64, 7); + this.labelRowHeightInPercentage.MaximumSize = new System.Drawing.Size(330, 0); + this.labelRowHeightInPercentage.Name = "labelRowHeightInPercentage"; + this.labelRowHeightInPercentage.Size = new System.Drawing.Size(166, 15); + this.labelRowHeightInPercentage.TabIndex = 0; + this.labelRowHeightInPercentage.Text = "labelRowHeighteInPercentage"; + // + // tableLayoutPanelSizeInPercentage + // + this.tableLayoutPanelSizeInPercentage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.tableLayoutPanelSizeInPercentage.AutoSize = true; + this.tableLayoutPanelSizeInPercentage.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanelSizeInPercentage.ColumnCount = 2; + this.tableLayoutPanelSizeInPercentage.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelSizeInPercentage.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelSizeInPercentage.Controls.Add(this.numericUpDownSizeInPercentage, 0, 0); + this.tableLayoutPanelSizeInPercentage.Controls.Add(this.labelSizeInPercentage, 1, 0); + this.tableLayoutPanelSizeInPercentage.Location = new System.Drawing.Point(0, 0); + this.tableLayoutPanelSizeInPercentage.Margin = new System.Windows.Forms.Padding(0); + this.tableLayoutPanelSizeInPercentage.Name = "tableLayoutPanelSizeInPercentage"; + this.tableLayoutPanelSizeInPercentage.RowCount = 1; + this.tableLayoutPanelSizeInPercentage.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelSizeInPercentage.Size = new System.Drawing.Size(394, 29); + this.tableLayoutPanelSizeInPercentage.TabIndex = 0; + // + // numericUpDownSizeInPercentage + // + this.numericUpDownSizeInPercentage.Location = new System.Drawing.Point(3, 3); + this.numericUpDownSizeInPercentage.Name = "numericUpDownSizeInPercentage"; + this.numericUpDownSizeInPercentage.Size = new System.Drawing.Size(55, 23); + this.numericUpDownSizeInPercentage.TabIndex = 1; + this.numericUpDownSizeInPercentage.KeyDown += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyDown); + this.numericUpDownSizeInPercentage.KeyUp += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyUp); + // + // labelSizeInPercentage + // + this.labelSizeInPercentage.Anchor = System.Windows.Forms.AnchorStyles.Left; + this.labelSizeInPercentage.AutoSize = true; + this.labelSizeInPercentage.Location = new System.Drawing.Point(64, 7); + this.labelSizeInPercentage.MaximumSize = new System.Drawing.Size(330, 0); + this.labelSizeInPercentage.Name = "labelSizeInPercentage"; + this.labelSizeInPercentage.Size = new System.Drawing.Size(121, 15); + this.labelSizeInPercentage.TabIndex = 0; + this.labelSizeInPercentage.Text = "labelSizeInPercentage"; + // + // tableLayoutPanelMenuHeight + // + this.tableLayoutPanelMenuHeight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.tableLayoutPanelMenuHeight.AutoSize = true; + this.tableLayoutPanelMenuHeight.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanelMenuHeight.ColumnCount = 2; + this.tableLayoutPanelMenuHeight.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelMenuHeight.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelMenuHeight.Controls.Add(this.numericUpDownMenuHeight, 0, 0); + this.tableLayoutPanelMenuHeight.Controls.Add(this.labelMaxMenuHeight, 1, 0); + this.tableLayoutPanelMenuHeight.Location = new System.Drawing.Point(0, 87); + this.tableLayoutPanelMenuHeight.Margin = new System.Windows.Forms.Padding(0); + this.tableLayoutPanelMenuHeight.Name = "tableLayoutPanelMenuHeight"; + this.tableLayoutPanelMenuHeight.RowCount = 1; + this.tableLayoutPanelMenuHeight.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelMenuHeight.Size = new System.Drawing.Size(394, 29); + this.tableLayoutPanelMenuHeight.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; + this.numericUpDownMenuHeight.KeyDown += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyDown); + this.numericUpDownMenuHeight.KeyUp += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyUp); + // + // 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"; + // + // tableLayoutPanelMaxMenuWidth + // + this.tableLayoutPanelMaxMenuWidth.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.tableLayoutPanelMaxMenuWidth.AutoSize = true; + this.tableLayoutPanelMaxMenuWidth.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanelMaxMenuWidth.ColumnCount = 2; + this.tableLayoutPanelMaxMenuWidth.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelMaxMenuWidth.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelMaxMenuWidth.Controls.Add(this.numericUpDownMenuWidth, 0, 0); + this.tableLayoutPanelMaxMenuWidth.Controls.Add(this.labelMaxMenuWidth, 1, 0); + this.tableLayoutPanelMaxMenuWidth.Location = new System.Drawing.Point(0, 58); + this.tableLayoutPanelMaxMenuWidth.Margin = new System.Windows.Forms.Padding(0); + this.tableLayoutPanelMaxMenuWidth.Name = "tableLayoutPanelMaxMenuWidth"; + this.tableLayoutPanelMaxMenuWidth.RowCount = 1; + this.tableLayoutPanelMaxMenuWidth.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelMaxMenuWidth.Size = new System.Drawing.Size(394, 29); + this.tableLayoutPanelMaxMenuWidth.TabIndex = 0; + // + // numericUpDownMenuWidth + // + this.numericUpDownMenuWidth.Location = new System.Drawing.Point(3, 3); + this.numericUpDownMenuWidth.Name = "numericUpDownMenuWidth"; + this.numericUpDownMenuWidth.Size = new System.Drawing.Size(55, 23); + this.numericUpDownMenuWidth.TabIndex = 1; + this.numericUpDownMenuWidth.KeyDown += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyDown); + this.numericUpDownMenuWidth.KeyUp += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyUp); + // + // labelMaxMenuWidth + // + this.labelMaxMenuWidth.Anchor = System.Windows.Forms.AnchorStyles.Left; + this.labelMaxMenuWidth.AutoSize = true; + this.labelMaxMenuWidth.Location = new System.Drawing.Point(64, 7); + this.labelMaxMenuWidth.MaximumSize = new System.Drawing.Size(330, 0); + this.labelMaxMenuWidth.Name = "labelMaxMenuWidth"; + this.labelMaxMenuWidth.Size = new System.Drawing.Size(118, 15); + this.labelMaxMenuWidth.TabIndex = 0; + this.labelMaxMenuWidth.Text = "labelMaxMenuWidth"; + // + // tabPageAdvanced + // + this.tabPageAdvanced.Controls.Add(this.tableLayoutPanelAdvanced); + 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, 413); + this.tabPageAdvanced.TabIndex = 0; + this.tabPageAdvanced.Text = "tabPageAdvanced"; + this.tabPageAdvanced.UseVisualStyleBackColor = true; + // + // tableLayoutPanelAdvanced + // + this.tableLayoutPanelAdvanced.AutoSize = true; + this.tableLayoutPanelAdvanced.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanelAdvanced.ColumnCount = 1; + this.tableLayoutPanelAdvanced.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanelAdvanced.Controls.Add(this.groupBoxHiddenFilesAndFolders, 0, 1); + this.tableLayoutPanelAdvanced.Controls.Add(this.groupBoxClick, 0, 0); + this.tableLayoutPanelAdvanced.Controls.Add(this.buttonAdvancedDefault, 0, 2); + this.tableLayoutPanelAdvanced.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanelAdvanced.Location = new System.Drawing.Point(3, 3); + this.tableLayoutPanelAdvanced.Name = "tableLayoutPanelAdvanced"; + this.tableLayoutPanelAdvanced.RowCount = 3; + 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, 407); + this.tableLayoutPanelAdvanced.TabIndex = 0; + // + // groupBoxHiddenFilesAndFolders + // + this.groupBoxHiddenFilesAndFolders.AutoSize = true; + this.groupBoxHiddenFilesAndFolders.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.groupBoxHiddenFilesAndFolders.Controls.Add(this.tableLayoutPanel1); + this.groupBoxHiddenFilesAndFolders.Location = new System.Drawing.Point(3, 81); + this.groupBoxHiddenFilesAndFolders.MaximumSize = new System.Drawing.Size(400, 0); + this.groupBoxHiddenFilesAndFolders.MinimumSize = new System.Drawing.Size(400, 0); + this.groupBoxHiddenFilesAndFolders.Name = "groupBoxHiddenFilesAndFolders"; + this.groupBoxHiddenFilesAndFolders.Size = new System.Drawing.Size(400, 97); + this.groupBoxHiddenFilesAndFolders.TabIndex = 2; + this.groupBoxHiddenFilesAndFolders.TabStop = false; + this.groupBoxHiddenFilesAndFolders.Text = "groupBoxHiddenFilesAndFolders"; + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.AutoSize = true; + this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanel1.ColumnCount = 1; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel1.Controls.Add(this.radioButtonAlwaysShowHiddenFiles, 0, 2); + this.tableLayoutPanel1.Controls.Add(this.radioButtonNeverShowHiddenFiles, 0, 1); + this.tableLayoutPanel1.Controls.Add(this.radioButtonSystemSettingsShowHiddenFiles, 0, 0); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 19); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 3; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel1.Size = new System.Drawing.Size(394, 75); + this.tableLayoutPanel1.TabIndex = 1; + // + // radioButtonAlwaysShowHiddenFiles + // + this.radioButtonAlwaysShowHiddenFiles.AutoSize = true; + this.radioButtonAlwaysShowHiddenFiles.Dock = System.Windows.Forms.DockStyle.Fill; + this.radioButtonAlwaysShowHiddenFiles.Location = new System.Drawing.Point(3, 53); + this.radioButtonAlwaysShowHiddenFiles.Name = "radioButtonAlwaysShowHiddenFiles"; + this.radioButtonAlwaysShowHiddenFiles.Size = new System.Drawing.Size(388, 19); + this.radioButtonAlwaysShowHiddenFiles.TabIndex = 2; + this.radioButtonAlwaysShowHiddenFiles.TabStop = true; + this.radioButtonAlwaysShowHiddenFiles.Text = "radioButtonAlwaysShowHiddenFiles"; + this.radioButtonAlwaysShowHiddenFiles.UseVisualStyleBackColor = true; + // + // radioButtonNeverShowHiddenFiles + // + this.radioButtonNeverShowHiddenFiles.AutoSize = true; + this.radioButtonNeverShowHiddenFiles.Dock = System.Windows.Forms.DockStyle.Fill; + this.radioButtonNeverShowHiddenFiles.Location = new System.Drawing.Point(3, 28); + this.radioButtonNeverShowHiddenFiles.Name = "radioButtonNeverShowHiddenFiles"; + this.radioButtonNeverShowHiddenFiles.Size = new System.Drawing.Size(388, 19); + this.radioButtonNeverShowHiddenFiles.TabIndex = 1; + this.radioButtonNeverShowHiddenFiles.TabStop = true; + this.radioButtonNeverShowHiddenFiles.Text = "radioButtonNeverShowHiddenFiles"; + this.radioButtonNeverShowHiddenFiles.UseVisualStyleBackColor = true; + // + // radioButtonSystemSettingsShowHiddenFiles + // + this.radioButtonSystemSettingsShowHiddenFiles.AutoSize = true; + this.radioButtonSystemSettingsShowHiddenFiles.Dock = System.Windows.Forms.DockStyle.Fill; + this.radioButtonSystemSettingsShowHiddenFiles.Location = new System.Drawing.Point(3, 3); + this.radioButtonSystemSettingsShowHiddenFiles.Name = "radioButtonSystemSettingsShowHiddenFiles"; + this.radioButtonSystemSettingsShowHiddenFiles.Size = new System.Drawing.Size(388, 19); + this.radioButtonSystemSettingsShowHiddenFiles.TabIndex = 2; + this.radioButtonSystemSettingsShowHiddenFiles.TabStop = true; + this.radioButtonSystemSettingsShowHiddenFiles.Text = "radioButtonSystemSettingsShowHiddenFiles"; + this.radioButtonSystemSettingsShowHiddenFiles.UseVisualStyleBackColor = true; + // + // groupBoxClick + // + this.groupBoxClick.AutoSize = true; + this.groupBoxClick.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.groupBoxClick.Controls.Add(this.tableLayoutPanelClick); + this.groupBoxClick.Location = new System.Drawing.Point(3, 3); + this.groupBoxClick.MaximumSize = new System.Drawing.Size(400, 0); + this.groupBoxClick.MinimumSize = new System.Drawing.Size(400, 0); + this.groupBoxClick.Name = "groupBoxClick"; + this.groupBoxClick.Size = new System.Drawing.Size(400, 72); + this.groupBoxClick.TabIndex = 0; + this.groupBoxClick.TabStop = false; + this.groupBoxClick.Text = "groupBoxClick"; + // + // tableLayoutPanelClick + // + this.tableLayoutPanelClick.AutoSize = true; + this.tableLayoutPanelClick.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanelClick.ColumnCount = 1; + this.tableLayoutPanelClick.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanelClick.Controls.Add(this.checkBoxOpenItemWithOneClick, 0, 1); + this.tableLayoutPanelClick.Controls.Add(this.checkBoxShowInTaskbar, 0, 0); + this.tableLayoutPanelClick.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanelClick.Location = new System.Drawing.Point(3, 19); + this.tableLayoutPanelClick.Name = "tableLayoutPanelClick"; + this.tableLayoutPanelClick.RowCount = 2; + this.tableLayoutPanelClick.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelClick.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelClick.Size = new System.Drawing.Size(394, 50); + this.tableLayoutPanelClick.TabIndex = 0; + // + // checkBoxOpenItemWithOneClick + // + this.checkBoxOpenItemWithOneClick.AutoSize = true; + this.checkBoxOpenItemWithOneClick.Dock = System.Windows.Forms.DockStyle.Fill; + this.checkBoxOpenItemWithOneClick.Location = new System.Drawing.Point(3, 28); + this.checkBoxOpenItemWithOneClick.Name = "checkBoxOpenItemWithOneClick"; + this.checkBoxOpenItemWithOneClick.Size = new System.Drawing.Size(388, 19); + this.checkBoxOpenItemWithOneClick.TabIndex = 0; + this.checkBoxOpenItemWithOneClick.Text = "checkBoxOpenItemWithOneClick"; + this.checkBoxOpenItemWithOneClick.UseVisualStyleBackColor = true; + // + // checkBoxShowInTaskbar + // + this.checkBoxShowInTaskbar.AutoSize = true; + this.checkBoxShowInTaskbar.Dock = System.Windows.Forms.DockStyle.Fill; + this.checkBoxShowInTaskbar.Location = new System.Drawing.Point(3, 3); + this.checkBoxShowInTaskbar.Name = "checkBoxShowInTaskbar"; + this.checkBoxShowInTaskbar.Size = new System.Drawing.Size(388, 19); + this.checkBoxShowInTaskbar.TabIndex = 1; + this.checkBoxShowInTaskbar.Text = "checkBoxShowInTaskbar"; + this.checkBoxShowInTaskbar.UseVisualStyleBackColor = true; + // + // buttonAdvancedDefault + // + this.buttonAdvancedDefault.AutoSize = true; + this.buttonAdvancedDefault.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.buttonAdvancedDefault.Location = new System.Drawing.Point(9, 190); + 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"; + this.buttonAdvancedDefault.Size = new System.Drawing.Size(144, 25); + this.buttonAdvancedDefault.TabIndex = 0; + this.buttonAdvancedDefault.Text = "buttonAdvancedDefault"; + this.buttonAdvancedDefault.UseVisualStyleBackColor = true; + this.buttonAdvancedDefault.Click += new System.EventHandler(this.ButtonAdvancedDefault_Click); + // + // tabPageFolders + // + this.tabPageFolders.Controls.Add(this.tableLayoutPanelFoldersInRootFolder); + this.tabPageFolders.Location = new System.Drawing.Point(4, 24); + this.tabPageFolders.Name = "tabPageFolders"; + this.tabPageFolders.Padding = new System.Windows.Forms.Padding(3); + this.tabPageFolders.Size = new System.Drawing.Size(414, 413); + this.tabPageFolders.TabIndex = 2; + this.tabPageFolders.Text = "tabPageFolders"; + this.tabPageFolders.UseVisualStyleBackColor = true; // // tableLayoutPanelFoldersInRootFolder // @@ -1078,378 +1573,6 @@ namespace SystemTrayMenu.UserInterface this.buttonDefaultFolders.UseVisualStyleBackColor = true; this.buttonDefaultFolders.Click += new System.EventHandler(this.ButtonClearFolders_Click); // - // tabPageAdvanced - // - this.tabPageAdvanced.Controls.Add(this.tableLayoutPanelAdvanced); - 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, 413); - this.tabPageAdvanced.TabIndex = 0; - this.tabPageAdvanced.Text = "tabPageAdvanced"; - this.tabPageAdvanced.UseVisualStyleBackColor = true; - // - // tableLayoutPanelAdvanced - // - this.tableLayoutPanelAdvanced.AutoSize = true; - this.tableLayoutPanelAdvanced.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.tableLayoutPanelAdvanced.ColumnCount = 1; - this.tableLayoutPanelAdvanced.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanelAdvanced.Controls.Add(this.groupBoxClick, 0, 0); - this.tableLayoutPanelAdvanced.Controls.Add(this.groupBoxSize, 0, 1); - this.tableLayoutPanelAdvanced.Controls.Add(this.buttonAdvancedDefault, 0, 3); - this.tableLayoutPanelAdvanced.Controls.Add(this.groupBoxMenuAppearAt, 0, 2); - this.tableLayoutPanelAdvanced.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanelAdvanced.Location = new System.Drawing.Point(3, 3); - this.tableLayoutPanelAdvanced.Name = "tableLayoutPanelAdvanced"; - this.tableLayoutPanelAdvanced.RowCount = 4; - 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.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelAdvanced.Size = new System.Drawing.Size(408, 407); - this.tableLayoutPanelAdvanced.TabIndex = 0; - // - // groupBoxClick - // - this.groupBoxClick.AutoSize = true; - this.groupBoxClick.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.groupBoxClick.Controls.Add(this.tableLayoutPanelClick); - this.groupBoxClick.Location = new System.Drawing.Point(3, 3); - this.groupBoxClick.MaximumSize = new System.Drawing.Size(400, 0); - this.groupBoxClick.MinimumSize = new System.Drawing.Size(400, 0); - this.groupBoxClick.Name = "groupBoxClick"; - this.groupBoxClick.Size = new System.Drawing.Size(400, 72); - this.groupBoxClick.TabIndex = 0; - this.groupBoxClick.TabStop = false; - this.groupBoxClick.Text = "groupBoxClick"; - // - // tableLayoutPanelClick - // - this.tableLayoutPanelClick.AutoSize = true; - this.tableLayoutPanelClick.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.tableLayoutPanelClick.ColumnCount = 1; - this.tableLayoutPanelClick.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanelClick.Controls.Add(this.checkBoxOpenItemWithOneClick, 0, 1); - this.tableLayoutPanelClick.Controls.Add(this.checkBoxShowInTaskbar, 0, 0); - this.tableLayoutPanelClick.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanelClick.Location = new System.Drawing.Point(3, 19); - this.tableLayoutPanelClick.Name = "tableLayoutPanelClick"; - this.tableLayoutPanelClick.RowCount = 2; - this.tableLayoutPanelClick.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelClick.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelClick.Size = new System.Drawing.Size(394, 50); - this.tableLayoutPanelClick.TabIndex = 0; - // - // checkBoxOpenItemWithOneClick - // - this.checkBoxOpenItemWithOneClick.AutoSize = true; - this.checkBoxOpenItemWithOneClick.Dock = System.Windows.Forms.DockStyle.Fill; - this.checkBoxOpenItemWithOneClick.Location = new System.Drawing.Point(3, 28); - this.checkBoxOpenItemWithOneClick.Name = "checkBoxOpenItemWithOneClick"; - this.checkBoxOpenItemWithOneClick.Size = new System.Drawing.Size(388, 19); - this.checkBoxOpenItemWithOneClick.TabIndex = 0; - this.checkBoxOpenItemWithOneClick.Text = "checkBoxOpenItemWithOneClick"; - this.checkBoxOpenItemWithOneClick.UseVisualStyleBackColor = true; - // - // checkBoxShowInTaskbar - // - this.checkBoxShowInTaskbar.AutoSize = true; - this.checkBoxShowInTaskbar.Dock = System.Windows.Forms.DockStyle.Fill; - this.checkBoxShowInTaskbar.Location = new System.Drawing.Point(3, 3); - this.checkBoxShowInTaskbar.Name = "checkBoxShowInTaskbar"; - this.checkBoxShowInTaskbar.Size = new System.Drawing.Size(388, 19); - this.checkBoxShowInTaskbar.TabIndex = 1; - this.checkBoxShowInTaskbar.Text = "checkBoxShowInTaskbar"; - this.checkBoxShowInTaskbar.UseVisualStyleBackColor = true; - // - // groupBoxSize - // - this.groupBoxSize.AutoSize = true; - this.groupBoxSize.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.groupBoxSize.Controls.Add(this.tableLayoutPanelSize); - this.groupBoxSize.Location = new System.Drawing.Point(3, 81); - this.groupBoxSize.MaximumSize = new System.Drawing.Size(400, 0); - this.groupBoxSize.MinimumSize = new System.Drawing.Size(400, 0); - this.groupBoxSize.Name = "groupBoxSize"; - this.groupBoxSize.Padding = new System.Windows.Forms.Padding(3, 3, 3, 6); - this.groupBoxSize.Size = new System.Drawing.Size(400, 141); - this.groupBoxSize.TabIndex = 0; - this.groupBoxSize.TabStop = false; - this.groupBoxSize.Text = "groupBoxSize"; - // - // tableLayoutPanelSize - // - this.tableLayoutPanelSize.AutoSize = true; - this.tableLayoutPanelSize.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.tableLayoutPanelSize.ColumnCount = 1; - this.tableLayoutPanelSize.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanelSize.Controls.Add(this.tableLayoutPanelRowHeighteInPercentage, 0, 1); - this.tableLayoutPanelSize.Controls.Add(this.tableLayoutPanelSizeInPercentage, 0, 0); - this.tableLayoutPanelSize.Controls.Add(this.tableLayoutPanelMenuHeight, 0, 3); - this.tableLayoutPanelSize.Controls.Add(this.tableLayoutPanelMaxMenuWidth, 0, 2); - this.tableLayoutPanelSize.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanelSize.Location = new System.Drawing.Point(3, 19); - this.tableLayoutPanelSize.Name = "tableLayoutPanelSize"; - this.tableLayoutPanelSize.RowCount = 4; - this.tableLayoutPanelSize.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelSize.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelSize.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelSize.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelSize.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanelSize.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanelSize.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanelSize.Size = new System.Drawing.Size(394, 116); - this.tableLayoutPanelSize.TabIndex = 0; - // - // tableLayoutPanelRowHeighteInPercentage - // - this.tableLayoutPanelRowHeighteInPercentage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - this.tableLayoutPanelRowHeighteInPercentage.AutoSize = true; - this.tableLayoutPanelRowHeighteInPercentage.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.tableLayoutPanelRowHeighteInPercentage.ColumnCount = 2; - this.tableLayoutPanelRowHeighteInPercentage.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanelRowHeighteInPercentage.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanelRowHeighteInPercentage.Controls.Add(this.numericUpDownRowHeighteInPercentage, 0, 0); - this.tableLayoutPanelRowHeighteInPercentage.Controls.Add(this.labelRowHeightInPercentage, 1, 0); - this.tableLayoutPanelRowHeighteInPercentage.Location = new System.Drawing.Point(0, 29); - this.tableLayoutPanelRowHeighteInPercentage.Margin = new System.Windows.Forms.Padding(0); - this.tableLayoutPanelRowHeighteInPercentage.Name = "tableLayoutPanelRowHeighteInPercentage"; - this.tableLayoutPanelRowHeighteInPercentage.RowCount = 1; - this.tableLayoutPanelRowHeighteInPercentage.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelRowHeighteInPercentage.Size = new System.Drawing.Size(394, 29); - this.tableLayoutPanelRowHeighteInPercentage.TabIndex = 3; - // - // numericUpDownRowHeighteInPercentage - // - this.numericUpDownRowHeighteInPercentage.Location = new System.Drawing.Point(3, 3); - this.numericUpDownRowHeighteInPercentage.Name = "numericUpDownRowHeighteInPercentage"; - this.numericUpDownRowHeighteInPercentage.Size = new System.Drawing.Size(55, 23); - this.numericUpDownRowHeighteInPercentage.TabIndex = 1; - // - // labelRowHeightInPercentage - // - this.labelRowHeightInPercentage.Anchor = System.Windows.Forms.AnchorStyles.Left; - this.labelRowHeightInPercentage.AutoSize = true; - this.labelRowHeightInPercentage.Location = new System.Drawing.Point(64, 7); - this.labelRowHeightInPercentage.MaximumSize = new System.Drawing.Size(330, 0); - this.labelRowHeightInPercentage.Name = "labelRowHeightInPercentage"; - this.labelRowHeightInPercentage.Size = new System.Drawing.Size(166, 15); - this.labelRowHeightInPercentage.TabIndex = 0; - this.labelRowHeightInPercentage.Text = "labelRowHeighteInPercentage"; - // - // tableLayoutPanelSizeInPercentage - // - this.tableLayoutPanelSizeInPercentage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - this.tableLayoutPanelSizeInPercentage.AutoSize = true; - this.tableLayoutPanelSizeInPercentage.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.tableLayoutPanelSizeInPercentage.ColumnCount = 2; - this.tableLayoutPanelSizeInPercentage.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanelSizeInPercentage.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanelSizeInPercentage.Controls.Add(this.numericUpDownSizeInPercentage, 0, 0); - this.tableLayoutPanelSizeInPercentage.Controls.Add(this.labelSizeInPercentage, 1, 0); - this.tableLayoutPanelSizeInPercentage.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanelSizeInPercentage.Margin = new System.Windows.Forms.Padding(0); - this.tableLayoutPanelSizeInPercentage.Name = "tableLayoutPanelSizeInPercentage"; - this.tableLayoutPanelSizeInPercentage.RowCount = 1; - this.tableLayoutPanelSizeInPercentage.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelSizeInPercentage.Size = new System.Drawing.Size(394, 29); - this.tableLayoutPanelSizeInPercentage.TabIndex = 0; - // - // numericUpDownSizeInPercentage - // - this.numericUpDownSizeInPercentage.Location = new System.Drawing.Point(3, 3); - this.numericUpDownSizeInPercentage.Name = "numericUpDownSizeInPercentage"; - this.numericUpDownSizeInPercentage.Size = new System.Drawing.Size(55, 23); - this.numericUpDownSizeInPercentage.TabIndex = 1; - this.numericUpDownSizeInPercentage.KeyDown += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyDown); - this.numericUpDownSizeInPercentage.KeyUp += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyUp); - // - // labelSizeInPercentage - // - this.labelSizeInPercentage.Anchor = System.Windows.Forms.AnchorStyles.Left; - this.labelSizeInPercentage.AutoSize = true; - this.labelSizeInPercentage.Location = new System.Drawing.Point(64, 7); - this.labelSizeInPercentage.MaximumSize = new System.Drawing.Size(330, 0); - this.labelSizeInPercentage.Name = "labelSizeInPercentage"; - this.labelSizeInPercentage.Size = new System.Drawing.Size(121, 15); - this.labelSizeInPercentage.TabIndex = 0; - this.labelSizeInPercentage.Text = "labelSizeInPercentage"; - // - // tableLayoutPanelMenuHeight - // - this.tableLayoutPanelMenuHeight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - this.tableLayoutPanelMenuHeight.AutoSize = true; - this.tableLayoutPanelMenuHeight.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.tableLayoutPanelMenuHeight.ColumnCount = 2; - this.tableLayoutPanelMenuHeight.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanelMenuHeight.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanelMenuHeight.Controls.Add(this.numericUpDownMenuHeight, 0, 0); - this.tableLayoutPanelMenuHeight.Controls.Add(this.labelMaxMenuHeight, 1, 0); - this.tableLayoutPanelMenuHeight.Location = new System.Drawing.Point(0, 87); - this.tableLayoutPanelMenuHeight.Margin = new System.Windows.Forms.Padding(0); - this.tableLayoutPanelMenuHeight.Name = "tableLayoutPanelMenuHeight"; - this.tableLayoutPanelMenuHeight.RowCount = 1; - this.tableLayoutPanelMenuHeight.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelMenuHeight.Size = new System.Drawing.Size(394, 29); - this.tableLayoutPanelMenuHeight.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; - this.numericUpDownMenuHeight.KeyDown += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyDown); - this.numericUpDownMenuHeight.KeyUp += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyUp); - // - // 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"; - // - // tableLayoutPanelMaxMenuWidth - // - this.tableLayoutPanelMaxMenuWidth.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - this.tableLayoutPanelMaxMenuWidth.AutoSize = true; - this.tableLayoutPanelMaxMenuWidth.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.tableLayoutPanelMaxMenuWidth.ColumnCount = 2; - this.tableLayoutPanelMaxMenuWidth.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanelMaxMenuWidth.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanelMaxMenuWidth.Controls.Add(this.numericUpDownMenuWidth, 0, 0); - this.tableLayoutPanelMaxMenuWidth.Controls.Add(this.labelMaxMenuWidth, 1, 0); - this.tableLayoutPanelMaxMenuWidth.Location = new System.Drawing.Point(0, 58); - this.tableLayoutPanelMaxMenuWidth.Margin = new System.Windows.Forms.Padding(0); - this.tableLayoutPanelMaxMenuWidth.Name = "tableLayoutPanelMaxMenuWidth"; - this.tableLayoutPanelMaxMenuWidth.RowCount = 1; - this.tableLayoutPanelMaxMenuWidth.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelMaxMenuWidth.Size = new System.Drawing.Size(394, 29); - this.tableLayoutPanelMaxMenuWidth.TabIndex = 0; - // - // numericUpDownMenuWidth - // - this.numericUpDownMenuWidth.Location = new System.Drawing.Point(3, 3); - this.numericUpDownMenuWidth.Name = "numericUpDownMenuWidth"; - this.numericUpDownMenuWidth.Size = new System.Drawing.Size(55, 23); - this.numericUpDownMenuWidth.TabIndex = 1; - this.numericUpDownMenuWidth.KeyDown += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyDown); - this.numericUpDownMenuWidth.KeyUp += new System.Windows.Forms.KeyEventHandler(this.StopPlayingDingSoundEnterKeyPressed_KeyUp); - // - // labelMaxMenuWidth - // - this.labelMaxMenuWidth.Anchor = System.Windows.Forms.AnchorStyles.Left; - this.labelMaxMenuWidth.AutoSize = true; - this.labelMaxMenuWidth.Location = new System.Drawing.Point(64, 7); - this.labelMaxMenuWidth.MaximumSize = new System.Drawing.Size(330, 0); - this.labelMaxMenuWidth.Name = "labelMaxMenuWidth"; - this.labelMaxMenuWidth.Size = new System.Drawing.Size(118, 15); - this.labelMaxMenuWidth.TabIndex = 0; - this.labelMaxMenuWidth.Text = "labelMaxMenuWidth"; - // - // buttonAdvancedDefault - // - this.buttonAdvancedDefault.AutoSize = true; - this.buttonAdvancedDefault.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.buttonAdvancedDefault.Location = new System.Drawing.Point(9, 362); - 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"; - this.buttonAdvancedDefault.Size = new System.Drawing.Size(144, 25); - this.buttonAdvancedDefault.TabIndex = 0; - this.buttonAdvancedDefault.Text = "buttonAdvancedDefault"; - this.buttonAdvancedDefault.UseVisualStyleBackColor = true; - this.buttonAdvancedDefault.Click += new System.EventHandler(this.ButtonAdvancedDefault_Click); - // - // groupBoxMenuAppearAt - // - this.groupBoxMenuAppearAt.AutoSize = true; - this.groupBoxMenuAppearAt.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.groupBoxMenuAppearAt.Controls.Add(this.tableLayoutPanelMenuAppearAt); - this.groupBoxMenuAppearAt.Dock = System.Windows.Forms.DockStyle.Fill; - this.groupBoxMenuAppearAt.Location = new System.Drawing.Point(3, 228); - this.groupBoxMenuAppearAt.MaximumSize = new System.Drawing.Size(400, 0); - this.groupBoxMenuAppearAt.MinimumSize = new System.Drawing.Size(400, 0); - this.groupBoxMenuAppearAt.Name = "groupBoxMenuAppearAt"; - this.groupBoxMenuAppearAt.Size = new System.Drawing.Size(400, 122); - this.groupBoxMenuAppearAt.TabIndex = 1; - this.groupBoxMenuAppearAt.TabStop = false; - this.groupBoxMenuAppearAt.Text = "groupBoxMenuAppearAt"; - // - // tableLayoutPanelMenuAppearAt - // - this.tableLayoutPanelMenuAppearAt.AutoSize = true; - this.tableLayoutPanelMenuAppearAt.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.tableLayoutPanelMenuAppearAt.ColumnCount = 1; - this.tableLayoutPanelMenuAppearAt.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanelMenuAppearAt.Controls.Add(this.radioButtonUseCustomLocation, 0, 2); - this.tableLayoutPanelMenuAppearAt.Controls.Add(this.radioButtonAppearAtTheBottomLeft, 0, 1); - this.tableLayoutPanelMenuAppearAt.Controls.Add(this.radioButtonAppearAtTheBottomRight, 0, 0); - this.tableLayoutPanelMenuAppearAt.Controls.Add(this.radioButtonAppearAtMouseLocation, 0, 3); - this.tableLayoutPanelMenuAppearAt.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanelMenuAppearAt.Location = new System.Drawing.Point(3, 19); - this.tableLayoutPanelMenuAppearAt.Name = "tableLayoutPanelMenuAppearAt"; - this.tableLayoutPanelMenuAppearAt.RowCount = 4; - this.tableLayoutPanelMenuAppearAt.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelMenuAppearAt.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelMenuAppearAt.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelMenuAppearAt.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelMenuAppearAt.Size = new System.Drawing.Size(394, 100); - this.tableLayoutPanelMenuAppearAt.TabIndex = 1; - // - // radioButtonUseCustomLocation - // - this.radioButtonUseCustomLocation.AutoSize = true; - this.radioButtonUseCustomLocation.Dock = System.Windows.Forms.DockStyle.Fill; - this.radioButtonUseCustomLocation.Location = new System.Drawing.Point(3, 53); - this.radioButtonUseCustomLocation.Name = "radioButtonUseCustomLocation"; - this.radioButtonUseCustomLocation.Size = new System.Drawing.Size(388, 19); - this.radioButtonUseCustomLocation.TabIndex = 2; - this.radioButtonUseCustomLocation.TabStop = true; - this.radioButtonUseCustomLocation.Text = "radioButtonUseCustomLocation"; - this.radioButtonUseCustomLocation.UseVisualStyleBackColor = true; - // - // radioButtonAppearAtTheBottomLeft - // - this.radioButtonAppearAtTheBottomLeft.AutoSize = true; - this.radioButtonAppearAtTheBottomLeft.Dock = System.Windows.Forms.DockStyle.Fill; - this.radioButtonAppearAtTheBottomLeft.Location = new System.Drawing.Point(3, 28); - this.radioButtonAppearAtTheBottomLeft.Name = "radioButtonAppearAtTheBottomLeft"; - this.radioButtonAppearAtTheBottomLeft.Size = new System.Drawing.Size(388, 19); - this.radioButtonAppearAtTheBottomLeft.TabIndex = 1; - this.radioButtonAppearAtTheBottomLeft.TabStop = true; - this.radioButtonAppearAtTheBottomLeft.Text = "radioButtonradioButtonAppearAtTheBottomLeft"; - this.radioButtonAppearAtTheBottomLeft.UseVisualStyleBackColor = true; - // - // radioButtonAppearAtTheBottomRight - // - this.radioButtonAppearAtTheBottomRight.AutoSize = true; - this.radioButtonAppearAtTheBottomRight.Dock = System.Windows.Forms.DockStyle.Fill; - this.radioButtonAppearAtTheBottomRight.Location = new System.Drawing.Point(3, 3); - this.radioButtonAppearAtTheBottomRight.Name = "radioButtonAppearAtTheBottomRight"; - this.radioButtonAppearAtTheBottomRight.Size = new System.Drawing.Size(388, 19); - this.radioButtonAppearAtTheBottomRight.TabIndex = 2; - this.radioButtonAppearAtTheBottomRight.TabStop = true; - this.radioButtonAppearAtTheBottomRight.Text = "radioButtonAppearAtTheBottomRight"; - this.radioButtonAppearAtTheBottomRight.UseVisualStyleBackColor = true; - // - // radioButtonAppearAtMouseLocation - // - this.radioButtonAppearAtMouseLocation.AutoSize = true; - this.radioButtonAppearAtMouseLocation.Dock = System.Windows.Forms.DockStyle.Fill; - this.radioButtonAppearAtMouseLocation.Location = new System.Drawing.Point(3, 78); - this.radioButtonAppearAtMouseLocation.Name = "radioButtonAppearAtMouseLocation"; - this.radioButtonAppearAtMouseLocation.Size = new System.Drawing.Size(388, 19); - this.radioButtonAppearAtMouseLocation.TabIndex = 3; - this.radioButtonAppearAtMouseLocation.TabStop = true; - this.radioButtonAppearAtMouseLocation.Text = "radioButtonAppearAtMouseLocation"; - this.radioButtonAppearAtMouseLocation.UseVisualStyleBackColor = true; - // // tabPageExpert // this.tabPageExpert.Controls.Add(this.tableLayoutPanelExpert); @@ -4118,27 +4241,14 @@ namespace SystemTrayMenu.UserInterface this.groupBoxLanguage.ResumeLayout(false); this.groupBoxLanguage.PerformLayout(); this.tableLayoutPanelLanguage.ResumeLayout(false); - this.tabControlFolders.ResumeLayout(false); - this.tabControlFolders.PerformLayout(); - this.tableLayoutPanelFoldersInRootFolder.ResumeLayout(false); - this.tableLayoutPanelFoldersInRootFolder.PerformLayout(); - this.groupBoxFoldersInRootFolder.ResumeLayout(false); - this.groupBoxFoldersInRootFolder.PerformLayout(); - this.tableLayoutPanelFolderToRootFoldersList7.ResumeLayout(false); - this.tableLayoutPanelFolderToRootFoldersList7.PerformLayout(); - this.tableLayoutPanelFolderToRootFolder.ResumeLayout(false); - this.tableLayoutPanelFolderToRootFolder.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dataGridViewFolders)).EndInit(); - this.tableLayoutPanelAddSampleStartMenuFolder.ResumeLayout(false); - this.tableLayoutPanelAddSampleStartMenuFolder.PerformLayout(); - this.tabPageAdvanced.ResumeLayout(false); - this.tabPageAdvanced.PerformLayout(); - this.tableLayoutPanelAdvanced.ResumeLayout(false); - this.tableLayoutPanelAdvanced.PerformLayout(); - this.groupBoxClick.ResumeLayout(false); - this.groupBoxClick.PerformLayout(); - this.tableLayoutPanelClick.ResumeLayout(false); - this.tableLayoutPanelClick.PerformLayout(); + this.tabPageSizeAndLocation.ResumeLayout(false); + this.tabPageSizeAndLocation.PerformLayout(); + this.tableLayoutPanel2.ResumeLayout(false); + this.tableLayoutPanel2.PerformLayout(); + this.groupBoxMenuAppearAt.ResumeLayout(false); + this.groupBoxMenuAppearAt.PerformLayout(); + this.tableLayoutPanelMenuAppearAt.ResumeLayout(false); + this.tableLayoutPanelMenuAppearAt.PerformLayout(); this.groupBoxSize.ResumeLayout(false); this.groupBoxSize.PerformLayout(); this.tableLayoutPanelSize.ResumeLayout(false); @@ -4155,10 +4265,31 @@ namespace SystemTrayMenu.UserInterface this.tableLayoutPanelMaxMenuWidth.ResumeLayout(false); this.tableLayoutPanelMaxMenuWidth.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownMenuWidth)).EndInit(); - this.groupBoxMenuAppearAt.ResumeLayout(false); - this.groupBoxMenuAppearAt.PerformLayout(); - this.tableLayoutPanelMenuAppearAt.ResumeLayout(false); - this.tableLayoutPanelMenuAppearAt.PerformLayout(); + this.tabPageAdvanced.ResumeLayout(false); + this.tabPageAdvanced.PerformLayout(); + this.tableLayoutPanelAdvanced.ResumeLayout(false); + this.tableLayoutPanelAdvanced.PerformLayout(); + this.groupBoxHiddenFilesAndFolders.ResumeLayout(false); + this.groupBoxHiddenFilesAndFolders.PerformLayout(); + this.tableLayoutPanel1.ResumeLayout(false); + this.tableLayoutPanel1.PerformLayout(); + this.groupBoxClick.ResumeLayout(false); + this.groupBoxClick.PerformLayout(); + this.tableLayoutPanelClick.ResumeLayout(false); + this.tableLayoutPanelClick.PerformLayout(); + this.tabPageFolders.ResumeLayout(false); + this.tabPageFolders.PerformLayout(); + this.tableLayoutPanelFoldersInRootFolder.ResumeLayout(false); + this.tableLayoutPanelFoldersInRootFolder.PerformLayout(); + this.groupBoxFoldersInRootFolder.ResumeLayout(false); + this.groupBoxFoldersInRootFolder.PerformLayout(); + this.tableLayoutPanelFolderToRootFoldersList7.ResumeLayout(false); + this.tableLayoutPanelFolderToRootFoldersList7.PerformLayout(); + this.tableLayoutPanelFolderToRootFolder.ResumeLayout(false); + this.tableLayoutPanelFolderToRootFolder.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridViewFolders)).EndInit(); + this.tableLayoutPanelAddSampleStartMenuFolder.ResumeLayout(false); + this.tableLayoutPanelAddSampleStartMenuFolder.PerformLayout(); this.tabPageExpert.ResumeLayout(false); this.tabPageExpert.PerformLayout(); this.tableLayoutPanelExpert.ResumeLayout(false); @@ -4547,7 +4678,7 @@ namespace SystemTrayMenu.UserInterface private System.Windows.Forms.NumericUpDown numericUpDownTimeUntilClosesAfterEnterPressed; private System.Windows.Forms.CheckBox checkBoxStayOpenWhenFocusLostAfterEnterPressed; private System.Windows.Forms.CheckBox checkBoxShowInTaskbar; - private System.Windows.Forms.TabPage tabControlFolders; + private System.Windows.Forms.TabPage tabPageFolders; private System.Windows.Forms.TableLayoutPanel tableLayoutPanelFoldersInRootFolder; private System.Windows.Forms.GroupBox groupBoxFoldersInRootFolder; private System.Windows.Forms.TableLayoutPanel tableLayoutPanelFolderToRootFoldersList7; @@ -4580,5 +4711,13 @@ namespace SystemTrayMenu.UserInterface private System.Windows.Forms.GroupBox groupBoxCache; private System.Windows.Forms.TableLayoutPanel tableLayoutPanelCache; private System.Windows.Forms.CheckBox checkBoxCacheMainMenu; + private System.Windows.Forms.TabPage tabPageSizeAndLocation; + private System.Windows.Forms.GroupBox groupBoxHiddenFilesAndFolders; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; + private System.Windows.Forms.RadioButton radioButtonAlwaysShowHiddenFiles; + private System.Windows.Forms.RadioButton radioButtonNeverShowHiddenFiles; + private System.Windows.Forms.RadioButton radioButtonSystemSettingsShowHiddenFiles; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; + private System.Windows.Forms.Button buttonSizeAndLocationDefault; } } \ No newline at end of file diff --git a/UserInterface/SettingsForm.cs b/UserInterface/SettingsForm.cs index 25f59b4..1ec14bc 100644 --- a/UserInterface/SettingsForm.cs +++ b/UserInterface/SettingsForm.cs @@ -104,9 +104,6 @@ namespace SystemTrayMenu.UserInterface { Text = Translator.GetText("Settings"); tabPageGeneral.Text = Translator.GetText("General"); - tabPageAdvanced.Text = Translator.GetText("Advanced"); - tabPageExpert.Text = Translator.GetText("Expert"); - tabPageCustomize.Text = Translator.GetText("Customize"); groupBoxFolder.Text = Translator.GetText("Folder"); buttonChangeFolder.Text = Translator.GetText("Change folder"); buttonOpenFolder.Text = Translator.GetText("Open Folder"); @@ -127,19 +124,8 @@ namespace SystemTrayMenu.UserInterface groupBoxHotkey.Text = Translator.GetText("Hotkey"); buttonHotkeyDefault.Text = Translator.GetText("Default"); groupBoxLanguage.Text = Translator.GetText("Language"); - tabControlFolders.Text = Translator.GetText("Folders"); - groupBoxFoldersInRootFolder.Text = Translator.GetText("Add folders to main menu"); - buttonAddFolderToRootFolder.Text = Translator.GetText("Add folder"); - buttonRemoveFolder.Text = Translator.GetText("Remove folder"); - ColumnFolder.HeaderText = Translator.GetText("Folder paths"); - ColumnRecursiveLevel.HeaderText = Translator.GetText("Recursive"); - ColumnOnlyFiles.HeaderText = Translator.GetText("Only Files"); - buttonAddSampleStartMenuFolder.Text = Translator.GetText("Add sample 'Start Menu' folder"); - buttonDefaultFolders.Text = Translator.GetText("Default"); - checkBoxGenerateShortcutsToDrives.Text = Translator.GetText("Generate shortcuts to drives"); - groupBoxClick.Text = Translator.GetText("Click"); - checkBoxShowInTaskbar.Text = Translator.GetText("Show in Taskbar"); - checkBoxOpenItemWithOneClick.Text = Translator.GetText("Single click to start item"); + + tabPageSizeAndLocation.Text = Translator.GetText("Size and location"); groupBoxSize.Text = Translator.GetText("Size"); labelSizeInPercentage.Text = $"% {Translator.GetText("Size")}"; labelRowHeightInPercentage.Text = $"% {Translator.GetText("Row height in percentage")}"; @@ -150,7 +136,30 @@ namespace SystemTrayMenu.UserInterface radioButtonAppearAtTheBottomRight.Text = Translator.GetText("Bottom right"); radioButtonUseCustomLocation.Text = Translator.GetText("Custom (drag it to the appropriate place)"); radioButtonAppearAtMouseLocation.Text = Translator.GetText("Mouse location"); + buttonSizeAndLocationDefault.Text = Translator.GetText("Default"); + + tabPageAdvanced.Text = Translator.GetText("Advanced"); + groupBoxClick.Text = Translator.GetText("Click"); + checkBoxShowInTaskbar.Text = Translator.GetText("Show in Taskbar"); + checkBoxOpenItemWithOneClick.Text = Translator.GetText("Single click to start item"); + groupBoxHiddenFilesAndFolders.Text = Translator.GetText("Hidden files and folders"); + radioButtonSystemSettingsShowHiddenFiles.Text = Translator.GetText("Use operating system settings"); + radioButtonNeverShowHiddenFiles.Text = Translator.GetText("Never show hidden files, folders or drives"); + radioButtonAlwaysShowHiddenFiles.Text = Translator.GetText("Always Show hidden files, folders or drives"); buttonAdvancedDefault.Text = Translator.GetText("Default"); + + tabPageFolders.Text = Translator.GetText("Folders"); + groupBoxFoldersInRootFolder.Text = Translator.GetText("Add folders to main menu"); + buttonAddFolderToRootFolder.Text = Translator.GetText("Add folder"); + buttonRemoveFolder.Text = Translator.GetText("Remove folder"); + ColumnFolder.HeaderText = Translator.GetText("Folder paths"); + ColumnRecursiveLevel.HeaderText = Translator.GetText("Recursive"); + ColumnOnlyFiles.HeaderText = Translator.GetText("Only Files"); + buttonAddSampleStartMenuFolder.Text = Translator.GetText("Add sample 'Start Menu' folder"); + buttonDefaultFolders.Text = Translator.GetText("Default"); + checkBoxGenerateShortcutsToDrives.Text = Translator.GetText("Generate shortcuts to drives"); + + tabPageExpert.Text = Translator.GetText("Expert"); 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"); @@ -163,6 +172,8 @@ namespace SystemTrayMenu.UserInterface checkBoxCacheMainMenu.Text = Translator.GetText("Cache main menu"); labelClearCacheIfMoreThanThisNumberOfItems.Text = Translator.GetText("Clear cache if more than this number of items"); buttonExpertDefault.Text = Translator.GetText("Default"); + + tabPageCustomize.Text = Translator.GetText("Customize"); groupBoxAppearance.Text = Translator.GetText("Appearance"); checkBoxRoundCorners.Text = Translator.GetText("Round corners"); checkBoxDarkModeAlwaysOn.Text = Translator.GetText("Dark Mode always active"); @@ -281,31 +292,6 @@ namespace SystemTrayMenu.UserInterface checkBoxStoreConfigAtAssemblyLocation.Checked = CustomSettingsProvider.IsActivatedConfigPathAssembly(); - try - { - foreach (string pathAndRecursivString in Settings.Default.PathsAddToMainMenu.Split(@"|")) - { - if (string.IsNullOrEmpty(pathAndRecursivString)) - { - continue; - } - - string pathAddToMainMenu = pathAndRecursivString.Split("recursiv:")[0].Trim(); - bool recursive = pathAndRecursivString.Split("recursiv:")[1].StartsWith("True"); - bool onlyFiles = pathAndRecursivString.Split("onlyFiles:")[1].StartsWith("True"); - dataGridViewFolders.Rows.Add(pathAddToMainMenu, recursive, onlyFiles); - } - } - catch (Exception ex) - { - Log.Warn("PathsAddToMainMenu", ex); - } - - checkBoxGenerateShortcutsToDrives.Checked = Settings.Default.GenerateShortcutsToDrives; - - checkBoxShowInTaskbar.Checked = Settings.Default.ShowInTaskbar; - checkBoxOpenItemWithOneClick.Checked = Settings.Default.OpenItemWithOneClick; - numericUpDownSizeInPercentage.Minimum = 100; numericUpDownSizeInPercentage.Maximum = 200; numericUpDownSizeInPercentage.Increment = 25; @@ -377,6 +363,35 @@ namespace SystemTrayMenu.UserInterface radioButtonAppearAtTheBottomRight.Checked = true; } + checkBoxShowInTaskbar.Checked = Settings.Default.ShowInTaskbar; + checkBoxOpenItemWithOneClick.Checked = Settings.Default.OpenItemWithOneClick; + + radioButtonSystemSettingsShowHiddenFiles.Checked = Settings.Default.SystemSettingsShowHiddenFiles; + radioButtonNeverShowHiddenFiles.Checked = Settings.Default.NeverShowHiddenFiles; + radioButtonAlwaysShowHiddenFiles.Checked = Settings.Default.AlwaysShowHiddenFiles; + + try + { + foreach (string pathAndRecursivString in Settings.Default.PathsAddToMainMenu.Split(@"|")) + { + if (string.IsNullOrEmpty(pathAndRecursivString)) + { + continue; + } + + string pathAddToMainMenu = pathAndRecursivString.Split("recursiv:")[0].Trim(); + bool recursive = pathAndRecursivString.Split("recursiv:")[1].StartsWith("True"); + bool onlyFiles = pathAndRecursivString.Split("onlyFiles:")[1].StartsWith("True"); + dataGridViewFolders.Rows.Add(pathAddToMainMenu, recursive, onlyFiles); + } + } + catch (Exception ex) + { + Log.Warn("PathsAddToMainMenu", ex); + } + + checkBoxGenerateShortcutsToDrives.Checked = Settings.Default.GenerateShortcutsToDrives; + checkBoxStayOpenWhenItemClicked.Checked = Settings.Default.StaysOpenWhenItemClicked; checkBoxStayOpenWhenFocusLost.Checked = Settings.Default.StaysOpenWhenFocusLost; @@ -730,26 +745,6 @@ namespace SystemTrayMenu.UserInterface } } - SaveFolders(); - void SaveFolders() - { - Settings.Default.PathsAddToMainMenu = string.Empty; - foreach (DataGridViewRow row in dataGridViewFolders.Rows) - { - string pathAddToMainMenu = row.Cells[0].Value.ToString(); - bool recursiv = (bool)row.Cells[1].Value; - bool onlyFiles = (bool)row.Cells[2].Value; - Settings.Default.PathsAddToMainMenu += $"{pathAddToMainMenu} recursiv:{recursiv} onlyFiles:{onlyFiles}|"; - } - } - - Settings.Default.GenerateShortcutsToDrives = checkBoxGenerateShortcutsToDrives.Checked; - Settings.Default.CacheMainMenu = checkBoxCacheMainMenu.Checked; - Settings.Default.ClearCacheIfMoreThanThisNumberOfItems = (int)numericUpDownClearCacheIfMoreThanThisNumberOfItems.Value; - - Settings.Default.ShowInTaskbar = checkBoxShowInTaskbar.Checked; - Settings.Default.OpenItemWithOneClick = checkBoxOpenItemWithOneClick.Checked; - Settings.Default.SizeInPercentage = (int)numericUpDownSizeInPercentage.Value; if (DllImports.NativeMethods.IsTouchEnabled()) { @@ -788,6 +783,28 @@ namespace SystemTrayMenu.UserInterface Settings.Default.AppearAtTheBottomLeft = false; } + Settings.Default.ShowInTaskbar = checkBoxShowInTaskbar.Checked; + Settings.Default.OpenItemWithOneClick = checkBoxOpenItemWithOneClick.Checked; + Settings.Default.SystemSettingsShowHiddenFiles = radioButtonSystemSettingsShowHiddenFiles.Checked; + Settings.Default.AlwaysShowHiddenFiles = radioButtonAlwaysShowHiddenFiles.Checked; + Settings.Default.NeverShowHiddenFiles = radioButtonNeverShowHiddenFiles.Checked; + + SaveFolders(); + Settings.Default.GenerateShortcutsToDrives = checkBoxGenerateShortcutsToDrives.Checked; + Settings.Default.CacheMainMenu = checkBoxCacheMainMenu.Checked; + Settings.Default.ClearCacheIfMoreThanThisNumberOfItems = (int)numericUpDownClearCacheIfMoreThanThisNumberOfItems.Value; + void SaveFolders() + { + Settings.Default.PathsAddToMainMenu = string.Empty; + foreach (DataGridViewRow row in dataGridViewFolders.Rows) + { + string pathAddToMainMenu = row.Cells[0].Value.ToString(); + bool recursiv = (bool)row.Cells[1].Value; + bool onlyFiles = (bool)row.Cells[2].Value; + Settings.Default.PathsAddToMainMenu += $"{pathAddToMainMenu} recursiv:{recursiv} onlyFiles:{onlyFiles}|"; + } + } + Settings.Default.StaysOpenWhenItemClicked = checkBoxStayOpenWhenItemClicked.Checked; Settings.Default.StaysOpenWhenFocusLost = checkBoxStayOpenWhenFocusLost.Checked; Settings.Default.TimeUntilCloses = (int)numericUpDownTimeUntilClose.Value; @@ -1027,21 +1044,29 @@ namespace SystemTrayMenu.UserInterface buttonAddSampleStartMenuFolder.Enabled = !doesStartMenuFolderExist; } - private void ButtonAdvancedDefault_Click(object sender, EventArgs e) + private void ButtonSizeAndLocationDefault_Click(object sender, EventArgs e) { - checkBoxOpenItemWithOneClick.Checked = true; - radioButtonAppearAtMouseLocation.Checked = false; numericUpDownSizeInPercentage.Value = 125; numericUpDownRowHeighteInPercentage.Value = 100; numericUpDownMenuWidth.Value = 400; numericUpDownMenuHeight.Value = 600; - checkBoxShowInTaskbar.Checked = true; - radioButtonAppearAtTheBottomRight.Checked = true; + + radioButtonAppearAtTheBottomRight.Checked = false; radioButtonAppearAtTheBottomLeft.Checked = true; radioButtonUseCustomLocation.Checked = false; radioButtonAppearAtMouseLocation.Checked = false; } + private void ButtonAdvancedDefault_Click(object sender, EventArgs e) + { + checkBoxShowInTaskbar.Checked = true; + checkBoxOpenItemWithOneClick.Checked = false; + + radioButtonSystemSettingsShowHiddenFiles.Checked = true; + radioButtonNeverShowHiddenFiles.Checked = false; + radioButtonAlwaysShowHiddenFiles.Checked = false; + } + private void CheckBoxStayOpenWhenFocusLost_CheckedChanged(object sender, EventArgs e) { numericUpDownTimeUntilClose.Enabled = checkBoxStayOpenWhenFocusLost.Checked; diff --git a/Utilities/FolderOptions.cs b/Utilities/FolderOptions.cs index 96bb40e..08448e1 100644 --- a/Utilities/FolderOptions.cs +++ b/Utilities/FolderOptions.cs @@ -68,8 +68,15 @@ namespace SystemTrayMenu.Utilities hiddenEntry = attributes.HasFlag(FileAttributes.Hidden); bool systemEntry = attributes.HasFlag( FileAttributes.Hidden | FileAttributes.System); - if ((hideHiddenEntries && hiddenEntry) || - (hideSystemEntries && systemEntry)) + if (Properties.Settings.Default.SystemSettingsShowHiddenFiles) + { + if ((hideHiddenEntries && hiddenEntry) || + (hideSystemEntries && systemEntry)) + { + isDirectoryToHide = true; + } + } + else if (hiddenEntry && Properties.Settings.Default.NeverShowHiddenFiles) { isDirectoryToHide = true; }