private void tbBuscar_TextChanged(object sender, EventArgs e) { if (ScriptSQL.ValidaGrado(tbBuscar.Text) == 1) { btnPrimerBoleta.Enabled = true; } else if (ScriptSQL.ValidaGrado(tbBuscar.Text) == 2) { btnPrimerBoleta.Enabled = true; btnSegBoleta.Enabled = true; } else if (ScriptSQL.ValidaGrado(tbBuscar.Text) == 3) { btnPrimerBoleta.Enabled = true; btnSegBoleta.Enabled = true; btnTercerBoleta.Enabled = true; } }