private void btnDesactivar_Click(object sender, EventArgs e) { if (lstActivos.Items.Count > 0) { var desactivado = productoBLL.DesactivarProducto(lstActivos.SelectedValue.ToString()); if (desactivado) { CargarProductos(); } } }