private void bSearchProject_Click(object sender, EventArgs e) { try { DataTable data = projectPresenter.SearchProject(txtSearchProject.Text); this.LoadDataGridViewForProject(data); } catch (Exception ex) { MessageBox.Show("Error!"); } }