private void obtenerConcepto(decimal id) { Recibo concepto = new Recibo(); Mensaje <REC01_CONCEPTO> resp = new Mensaje <REC01_CONCEPTO>(); resp = concepto.obtenerConcepto(id); if (resp.data.PRECIO != 0) { lblprecio.Visible = true; txtprecio.Visible = true; txtprecio.Enabled = false; txtprecio.Text = resp.data.PRECIO.ToString(); calculartotal(); txtcantidad.Focus(); } else if (resp.data.PRECIO == null || resp.data.PRECIO == 0) { lblprecio.Visible = true; txtprecio.Visible = true; txtprecio.Enabled = true; txtprecio.Text = ""; txtprecio.Focus(); } }