private void btnSearch_Click(object sender, EventArgs e) { if (CurrentAnalysis != null) { UpdateGrid(CurrentAnalysis.Search(txtSearch.Text)); } }