private void txtContext_TextChanged(object sender, EventArgs e) { dataGridView1.DataSource = FuzzyFindDataTableRecord.FindRecord(m_findPersonnel, cmbFindItem.Text, txtContext.Text); }
/// <summary> /// 查找内容发生变化时进行模糊查询 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void txtContext_TextChanged(object sender, EventArgs e) { dataGridView1.DataSource = FuzzyFindDataTableRecord.FindRecord(m_returnTable, cmbFindItem.Text, txtContext.Text); dataGridView1.Refresh(); }