private void button1_Find_Click(object sender, EventArgs e) { if (!string.IsNullOrWhiteSpace(textBox1_FindTextbox.Text)) { Usefull_Function.Find(this.textBox1_FindTextbox.Text, ref dataGridView1, new List <int>() { 0, 1, 2, 3, 4, 5, 6 }); } }
private void btn1_Search_Click(object sender, EventArgs e) { if (!string.IsNullOrWhiteSpace(this.tb1_Search.Text)) { Usefull_Function.Find(this.tb1_Search.Text, ref dataGridView1, new List <int>() { 0, 1, 2, 3, 4, 5, 6 }); } }