Пример #1
0
        // LLena una grilla con la ListaEntidad y Pone Tamanos de columnas para ajustar a pantalla
        private void FillFromLEOTItemsConAnchoDeColumna(FullGrid p_fullGrid, Bel.LEOTItems p_leOTItems)
        {
            p_leOTItems.ChangeCaption(EOTItem.NroagrupadorCmp, "");
            p_leOTItems.ChangeCaption(EOTItem.NroitemCmp, "");
            p_leOTItems.ChangeCaption(EOTItem.ImportecierreCmp, "");
            p_leOTItems.ChangeCaption(EOTItem.EstadoCmp, "");
            p_leOTItems.ChangeCaption(EOTItem.CodcategoriaCmp, "");
            p_leOTItems.ChangeCaption("Oti_kilometraje", "");
            p_leOTItems.ChangeCaption("Oti_categoria", "");
            p_leOTItems.ChangeCaption(EOTItem.ComentariocierreCmp, "");
            p_leOTItems.ChangeCaption(EOTItem.CodreparacionCmp, "");
            p_leOTItems.ChangeCaption(EOTItem.ComentarioCmp, "V1ComentarioCN1");


            p_fullGrid.FillFromLEntidad(p_leOTItems);
            p_fullGrid.ColWitdhs = "64;280;280;80;110;";
        }
Пример #2
0
 // Configura los captions de la ListaOTItems, para ver bien la grilla que muestra los items.
 private void ConfigurarCaptionsLEOitems(Bel.LEOTItems p_leOTItems)
 {
     p_leOTItems.ChangeCaption("oti_nro_nroot", "V1OrdenNN2");
     p_leOTItems.ChangeCaption("oti_nro_nroagrupador", "V1aNN2");
     p_leOTItems.ChangeCaption("oti_nro_nroitem", "V1iNN2");
     p_leOTItems.ChangeCaption("oti_des_desoperacion", "V1ControlCN2");
     p_leOTItems.ChangeCaption("oti_des_destarea", "V1ReparacionCN2");
     p_leOTItems.ChangeCaption("oti_rcd_codcategoria", "V1CategoriaCN2");
     p_leOTItems.ChangeCaption("oti_imp_importe", "V1Importe2N2");
     p_leOTItems.ChangeCaption("oti_ede_comentario", "");
     p_leOTItems.ChangeCaption("instante", "");
     p_leOTItems.ChangeCaption("deleted", "");
     p_leOTItems.ChangeCaption("usuario", "");
     p_leOTItems.ChangeCaption("version", "");
 }