fixed clear
This commit is contained in:
15
Metoder/Form1.Designer.cs
generated
15
Metoder/Form1.Designer.cs
generated
@@ -41,7 +41,7 @@
|
|||||||
// btn_find
|
// btn_find
|
||||||
//
|
//
|
||||||
btn_find.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
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.Margin = new Padding(2);
|
||||||
btn_find.Name = "btn_find";
|
btn_find.Name = "btn_find";
|
||||||
btn_find.Size = new Size(78, 24);
|
btn_find.Size = new Size(78, 24);
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
// txtbx_find
|
// txtbx_find
|
||||||
//
|
//
|
||||||
txtbx_find.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
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.Margin = new Padding(2);
|
||||||
txtbx_find.Name = "txtbx_find";
|
txtbx_find.Name = "txtbx_find";
|
||||||
txtbx_find.PlaceholderText = "Search text";
|
txtbx_find.PlaceholderText = "Search text";
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
//
|
//
|
||||||
lbl_found.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
lbl_found.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
lbl_found.AutoSize = true;
|
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.Margin = new Padding(2, 0, 2, 0);
|
||||||
lbl_found.Name = "lbl_found";
|
lbl_found.Name = "lbl_found";
|
||||||
lbl_found.Size = new Size(71, 15);
|
lbl_found.Size = new Size(71, 15);
|
||||||
@@ -89,14 +89,14 @@
|
|||||||
txtbx_text.Location = new Point(8, 47);
|
txtbx_text.Location = new Point(8, 47);
|
||||||
txtbx_text.Margin = new Padding(2);
|
txtbx_text.Margin = new Padding(2);
|
||||||
txtbx_text.Name = "txtbx_text";
|
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.TabIndex = 5;
|
||||||
txtbx_text.Text = "";
|
txtbx_text.Text = "";
|
||||||
//
|
//
|
||||||
// txtbx_replace
|
// txtbx_replace
|
||||||
//
|
//
|
||||||
txtbx_replace.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
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.Margin = new Padding(2);
|
||||||
txtbx_replace.Name = "txtbx_replace";
|
txtbx_replace.Name = "txtbx_replace";
|
||||||
txtbx_replace.PlaceholderText = "Replace found text with";
|
txtbx_replace.PlaceholderText = "Replace found text with";
|
||||||
@@ -106,7 +106,7 @@
|
|||||||
// btn_replace
|
// btn_replace
|
||||||
//
|
//
|
||||||
btn_replace.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
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.Margin = new Padding(2);
|
||||||
btn_replace.Name = "btn_replace";
|
btn_replace.Name = "btn_replace";
|
||||||
btn_replace.Size = new Size(78, 24);
|
btn_replace.Size = new Size(78, 24);
|
||||||
@@ -129,7 +129,7 @@
|
|||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
ClientSize = new Size(734, 416);
|
ClientSize = new Size(813, 516);
|
||||||
Controls.Add(btn_sort);
|
Controls.Add(btn_sort);
|
||||||
Controls.Add(btn_replace);
|
Controls.Add(btn_replace);
|
||||||
Controls.Add(txtbx_replace);
|
Controls.Add(txtbx_replace);
|
||||||
@@ -139,6 +139,7 @@
|
|||||||
Controls.Add(txtbx_find);
|
Controls.Add(txtbx_find);
|
||||||
Controls.Add(btn_find);
|
Controls.Add(btn_find);
|
||||||
Margin = new Padding(2);
|
Margin = new Padding(2);
|
||||||
|
MinimumSize = new Size(630, 168);
|
||||||
Name = "Form1";
|
Name = "Form1";
|
||||||
Text = "Text Tool";
|
Text = "Text Tool";
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ namespace Metoder
|
|||||||
private void btn_clear_Click(object sender, EventArgs e)
|
private void btn_clear_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
lbl_found.Visible = false;
|
lbl_found.Visible = false;
|
||||||
|
txtbx_text.Text = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btn_sort_Click(object sender, EventArgs e)
|
private void btn_sort_Click(object sender, EventArgs e)
|
||||||
|
|||||||
Reference in New Issue
Block a user