private void button4_Click_1(object sender, EventArgs e)
{
this.filtro = 2;
if (txtFiltro2.Enabled && txtFiltro2.Text.Length != 0)
{
if (this.concatenarCriterio(txtFiltro2, cboCamposFiltro2, " = '" + txtFiltro2.Text + "'"))
{
cboCamposFiltro2.SelectedIndex = -1;
txtFiltro2.Text = "";
this.sePusoAgregarFiltro2 = true;
}
}
else
{
MessageBox.Show("Debe llenar el campo desplegable y el texto para poder agregar filtro", "Advertencia", MessageBoxButtons.OK);
}
}