示例#1
0
        public void llenarcombos()
        {
            List <clsGenericaPares> listaNivel = MetodosForm.listaNivelesContabilidad();

            UICD_NIVEL_CONT_CONSUMO.Properties.DataSource = listaNivel;
            UICD_NIVEL_CONT_INVE.Properties.DataSource    = listaNivel;
            UICD_NIVEL_CONT_VENTA.Properties.DataSource   = listaNivel;

            List <V_CONT_CUENTA> listaCuentas = (from u in _datasistema.ContextoContabilidad.V_CONT_CUENTA where u.FLG_DETALLE.Equals("S") select u).ToList();

            UIID_CUENTA_CONSUMO.Properties.DataSource = listaCuentas;
            UIID_CUENTA_INVE.Properties.DataSource    = listaCuentas;
            UIID_CUENTA_VENTA.Properties.DataSource   = listaCuentas;
        }