diff --git a/Metoder/Form1.Designer.cs b/Metoder/Form1.Designer.cs index 430c98c..ab4e725 100644 --- a/Metoder/Form1.Designer.cs +++ b/Metoder/Form1.Designer.cs @@ -41,7 +41,7 @@ // btn_find // btn_find.Anchor = AnchorStyles.Top | AnchorStyles.Right; - btn_find.Location = new Point(647, 4); + btn_find.Location = new Point(726, 4); btn_find.Margin = new Padding(2); btn_find.Name = "btn_find"; btn_find.Size = new Size(78, 24); @@ -53,7 +53,7 @@ // txtbx_find // txtbx_find.Anchor = AnchorStyles.Top | AnchorStyles.Right; - txtbx_find.Location = new Point(538, 4); + txtbx_find.Location = new Point(617, 4); txtbx_find.Margin = new Padding(2); txtbx_find.Name = "txtbx_find"; txtbx_find.PlaceholderText = "Search text"; @@ -75,7 +75,7 @@ // lbl_found.Anchor = AnchorStyles.Top | AnchorStyles.Right; lbl_found.AutoSize = true; - lbl_found.Location = new Point(647, 30); + lbl_found.Location = new Point(726, 30); lbl_found.Margin = new Padding(2, 0, 2, 0); lbl_found.Name = "lbl_found"; lbl_found.Size = new Size(71, 15); @@ -89,14 +89,14 @@ txtbx_text.Location = new Point(8, 47); txtbx_text.Margin = new Padding(2); txtbx_text.Name = "txtbx_text"; - txtbx_text.Size = new Size(718, 355); + txtbx_text.Size = new Size(797, 455); txtbx_text.TabIndex = 5; txtbx_text.Text = ""; // // txtbx_replace // txtbx_replace.Anchor = AnchorStyles.Top | AnchorStyles.Right; - txtbx_replace.Location = new Point(312, 5); + txtbx_replace.Location = new Point(391, 5); txtbx_replace.Margin = new Padding(2); txtbx_replace.Name = "txtbx_replace"; txtbx_replace.PlaceholderText = "Replace found text with"; @@ -106,7 +106,7 @@ // btn_replace // btn_replace.Anchor = AnchorStyles.Top | AnchorStyles.Right; - btn_replace.Location = new Point(454, 4); + btn_replace.Location = new Point(533, 4); btn_replace.Margin = new Padding(2); btn_replace.Name = "btn_replace"; btn_replace.Size = new Size(78, 24); @@ -129,7 +129,7 @@ // AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(734, 416); + ClientSize = new Size(813, 516); Controls.Add(btn_sort); Controls.Add(btn_replace); Controls.Add(txtbx_replace); @@ -139,6 +139,7 @@ Controls.Add(txtbx_find); Controls.Add(btn_find); Margin = new Padding(2); + MinimumSize = new Size(630, 168); Name = "Form1"; Text = "Text Tool"; ResumeLayout(false); diff --git a/Metoder/Form1.cs b/Metoder/Form1.cs index 4ea46c3..ac8d648 100644 --- a/Metoder/Form1.cs +++ b/Metoder/Form1.cs @@ -25,6 +25,7 @@ namespace Metoder private void btn_clear_Click(object sender, EventArgs e) { lbl_found.Visible = false; + txtbx_text.Text = ""; } private void btn_sort_Click(object sender, EventArgs e)