private void SrchDetailInfo_Load(object sender, EventArgs e) { lblID.Text = orden.Id.ToString(); lblFolio.Text = orden.Folio.ToString(); lblEstado.Text = OrdenStatusManager.ToString(orden.Status); lblObservaciones.Text = orden.Observaciones; lblTelefono.Text = c.Telefono; lblCliente.Text = c.Nombre; lblDireccion.Text = c.Direccion; lblRecepcion.Text = orden.FechaRecepcion.ToString("dd/MM/yyyy"); lblEntrega.Text = orden.FechaEntrega.GetValueOrDefault(DateTime.MinValue).ToString("dd/MM/yyyy"); lblMecanico.Text = mecanicos; lblMet_Pago.Text = TipoPagoManager.ToString(orden.TipoPago ?? -1); lblReferencia.Text = orden.Referencia ?? "INDEFINIDA"; lblEquipo.Text = orden.Equipo; }