public modificarOrden(string codorden)
 {
     InitializeComponent();
     cmb_productos.llenarse2("productos", "id_producto", "nombre_producto", "id_tipo_producto", "1");
     orden                       = codorden;
     lbl_noOrden.Text            = orden;
     Dtp_fechalim.Enabled        = false;
     Dtp_fechalim.Format         = DateTimePickerFormat.Custom;
     Dtp_fechalim.CustomFormat   = "yyyy-MM-dd";
     Dtp_FechaOrden.Format       = DateTimePickerFormat.Custom;
     Dtp_FechaOrden.CustomFormat = "yyyy-MM-dd";
     asignarAlias2(alias);
     actualizardatagriew2(orden);
     Dtp_FechaOrden.Enabled      = false;
     Btn_actualizarFecha.Enabled = false;
     lbl_tipo.Text       = mo.ObtenerSimple("produccion_encabezados", "tipo_produccion", "cod_orden", orden);
     Dtp_FechaOrden.Text = mo.ObtenerSimple("produccion_encabezados", "fecha_orden", "cod_orden", orden);
     Dtp_fechalim.Text   = mo.ObtenerSimple("produccion_encabezados", "fecha_limite", "cod_orden", orden);
 }