Exemplo n.º 1
0
 public void Tb_TextChanged(object sender, EventArgs e)
 {
     //if (mItems == null)
     //	return;
     //sItems = new List<int>();
     //for (int i = 0; i < mItems.Count; i++)
     //{
     //	//foreach (string a in mItems) {
     //	if (mItems[i].Contains(tb.Text))
     //	{
     //		sItems.Add(i);
     //	}
     //	//if tb.Text in a { }
     //}
     //lv.VirtualListSize = sItems.Count;
     //throw new NotImplementedException();
     sItems             = Bits.getTextMatches(txt, tb.Text, mItems);
     lv.VirtualListSize = sItems.Count;
 }