Exemplo n.º 1
0
        protected override void RefreshAction()
        {
            ChargeInfo current = Cobro;

            Cobros_DGW.Refresh();
            UpdateFacturasPendientes();
            UpdateFacturasCobro();

            Datos_Resumen.ResetBindings(false);

            SetGridColors(Cobros_DGW.Name);
            SetGridColors(LineasFomento_DGW.Name);

            Select(current);
        }
        protected override void RefreshAction()
        {
            Charge current = Cobro;

            _facturas_cliente       = OutputInvoiceList.GetByClienteList(_entity.Oid, false);
            Datos_Cobros.DataSource = _entity.Cobros.GetSortedList("IdCobro", ListSortDirection.Descending);
            Cobros_DGW.Refresh();
            UpdateFacturasPendientes();
            UpdateFacturasCobro();

            _resumen.Refresh(_entity);
            Datos_Resumen.ResetBindings(false);

            SetGridColors(Cobros_DGW.Name);
            SetGridColors(Facturas_DGW.Name);

            Select(current);
        }