private void textBox1_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { SQLite.SeletDataGrid data = new SQLite.SeletDataGrid(); data.SelectDatagrid2(comboBox2, textBox1.Text.Trim(), listView1); } }
private void button1_Click_2(object sender, EventArgs e) { SQLite.SeletDataGrid data = new SQLite.SeletDataGrid(); data.SelectDatagrid2(comboBox2, textBox1.Text.Trim(), listView1); }