private void buttonSearch_Click(object sender, EventArgs e) { try { bus.Search(dataGrid, inputSearch.Text); dataGrid.Rows[0].Selected = false; } catch { MessageBox.Show("Không tìm thấy"); View(); } }
private void buttonSearch_Click(object sender, EventArgs e) { try { bus.Search(dataGrid, inputSearch.Text); dataGrid.Rows[0].Selected = false; } catch { MessageBox.Show("Không tìm thấy"); View(); } }