diff --git a/MapleNecrocer/ChatRingForm.Designer.cs b/MapleNecrocer/ChatRingForm.Designer.cs index 4ec0184..e66cca7 100644 --- a/MapleNecrocer/ChatRingForm.Designer.cs +++ b/MapleNecrocer/ChatRingForm.Designer.cs @@ -46,6 +46,7 @@ private void InitializeComponent() // // richTextBox1 // + richTextBox1.Font = new Font("Tahoma", 10F, FontStyle.Regular, GraphicsUnit.Point); richTextBox1.Location = new Point(14, 18); richTextBox1.Name = "richTextBox1"; richTextBox1.Size = new Size(364, 86); @@ -67,6 +68,7 @@ private void InitializeComponent() textBox1.Name = "textBox1"; textBox1.Size = new Size(143, 24); textBox1.TabIndex = 11; + textBox1.TextChanged += textBox1_TextChanged; // // button1 // diff --git a/MapleNecrocer/ChatRingForm.cs b/MapleNecrocer/ChatRingForm.cs index 5adcbe8..4561872 100644 --- a/MapleNecrocer/ChatRingForm.cs +++ b/MapleNecrocer/ChatRingForm.cs @@ -109,4 +109,9 @@ private void ChatRingForm_FormClosing(object sender, FormClosingEventArgs e) { MainForm.Instance.ToolTipView.Visible = false; } + + private void textBox1_TextChanged(object sender, EventArgs e) + { + ChatRingListGrid.Search(textBox1.Text); + } }