protected void SelectInvoiceAction()
        {
            OutputInvoiceList list = OutputInvoiceList.GetByClienteList(_source_client.Oid, false);
            InvoiceSelectForm form = new InvoiceSelectForm(this, list, ETipoFacturas.Todas);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                SetSourceInvoices(form.Selected as List <OutputInvoiceInfo>);
            }
        }
        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);
        }
 public override void RefreshSecondaryData()
 {
     _facturas_cliente = OutputInvoiceList.GetByClienteList(_entity.Oid, false);
     PgMng.Grow(string.Empty, "Facturas del Cliente");
 }