![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
查找
brian0031
这个作者很懒,什么都没留下…
展开
-
输入textBox查找listBox内容
private void textBox1_TextChanged(object sender, EventArgs e) { if (textBox1.Text.Trim().Length == 0) listBox1.Visible = false; else { listBox1.Visible = true;原创 2012-08-15 23:01:07 · 2041 阅读 · 0 评论 -
输入textbox查找listbox 内容符合项
private List items = new List(); private void Form1_Load(object sender, EventArgs e) { items.AddRange(new string[] { "Cat", "Dog", "Carrots", "Brocolli" }); foreach (string str in items)原创 2012-08-19 10:35:19 · 1636 阅读 · 0 评论