private void ConsultaAlteraTexto(object sender, EventArgs e) { if (txtFiltro.Text.Length > 0) { carregamento.MontaPesquisa(gridPrincipal, txtFiltro.Text, btnConsultar.Text); } }
private void txtPesquisa_TextChanged(object sender, EventArgs e) { if (txtFiltro.Text.Length > 0) { carregamento.MontaPesquisa(gridPrincipal, txtFiltro.Text, txtPesquisa.Text); } }