コード例 #1
0
        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>);
            }
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 public override void RefreshSecondaryData()
 {
     _facturas_cliente = OutputInvoiceList.GetByClienteList(_entity.Oid, false);
     PgMng.Grow(string.Empty, "Facturas del Cliente");
 }