diff --git a/Form1.Designer.cs b/Form1.Designer.cs index aa6a10d..d380e7e 100644 --- a/Form1.Designer.cs +++ b/Form1.Designer.cs @@ -149,6 +149,9 @@ private void InitializeComponent() // // tableLayoutPanel1 // + this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 88.90814F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.09185F)); @@ -171,6 +174,7 @@ private void InitializeComponent() this.textBox_outputDirectory.Name = "textBox_outputDirectory"; this.textBox_outputDirectory.Size = new System.Drawing.Size(507, 32); this.textBox_outputDirectory.TabIndex = 1; + this.textBox_outputDirectory.TabStop = false; this.textBox_outputDirectory.DoubleClick += new System.EventHandler(this.button_folder_Click); this.textBox_outputDirectory.KeyDown += new System.Windows.Forms.KeyEventHandler(this.enter_KeyDown); // @@ -183,7 +187,8 @@ private void InitializeComponent() this.button_folder.Location = new System.Drawing.Point(516, 3); this.button_folder.Name = "button_folder"; this.button_folder.Size = new System.Drawing.Size(58, 32); - this.button_folder.TabIndex = 2; + this.button_folder.TabIndex = 1; + this.button_folder.TabStop = false; this.button_folder.Text = "📂 Folder"; this.button_folder.UseMnemonic = false; this.button_folder.UseVisualStyleBackColor = true; diff --git a/Form1.cs b/Form1.cs index 29eab0f..6ef84cb 100644 --- a/Form1.cs +++ b/Form1.cs @@ -18,6 +18,10 @@ public Form1() private void Form1_Shown(object? sender, EventArgs e) { + // https://stackoverflow.com/a/31690719 + // "However, be aware that adding new links to the Links collection will automatically set the TabStop property to true again." + linkLabel5.TabStop = false; + textBox_outputDirectory.Text = Settings.Default.Directory; checkBox_logVerbose.Checked = Settings.Default.LogVerbose; checkBox_logVerbose_CheckedChanged(new(), new()); diff --git a/Properties/PublishProfiles/ClickOnceProfile.pubxml b/Properties/PublishProfiles/ClickOnceProfile.pubxml index bc47409..f40d018 100644 --- a/Properties/PublishProfiles/ClickOnceProfile.pubxml +++ b/Properties/PublishProfiles/ClickOnceProfile.pubxml @@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. --> - 0 + 1 1.1.0.* True Release diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs index a9330b8..9a8f8cc 100644 --- a/Properties/Settings.Designer.cs +++ b/Properties/Settings.Designer.cs @@ -25,7 +25,7 @@ public static Settings Default { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute(".\\")] + [global::System.Configuration.DefaultSettingValueAttribute("")] public string Directory { get { return ((string)(this["Directory"])); diff --git a/Properties/Settings.settings b/Properties/Settings.settings index 36b4ff3..362be09 100644 --- a/Properties/Settings.settings +++ b/Properties/Settings.settings @@ -3,7 +3,7 @@ - .\ + False