public override void PrintList() { PgMng.Reset(3, 1, Face.Resources.Messages.LOADING_DATA, this); CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema, this.Text, FilterValues); PgMng.Grow(Face.Resources.Messages.BUILDING_REPORT); CobroClienteListRpt report = reportMng.GetCobroClienteListReport(ChargeSummaryList.GetList((IList <ChargeSummary>)Datos.List)); PgMng.FillUp(); ShowReport(report); }
public ClientChargeMngForm(bool isModal, Form parent, ChargeSummaryList list) : base(isModal, parent, list) { InitializeComponent(); SetView(molView.Normal); // Parche para poder abrir el formulario en modo diseƱo y no perder la configuracion de columnas DatosLocal_BS = Datos; Tabla.DataSource = DatosLocal_BS; SetMainDataGridView(Tabla); Datos.DataSource = ChargeSummaryList.NewList().GetSortedList(); SortProperty = Cliente.DataPropertyName; }
protected override void RefreshMainData() { PgMng.Grow(string.Empty, "Cobro"); _selectedOid = ActiveOID; switch (DataType) { case EntityMngFormTypeData.Default: List = ChargeSummaryList.GetList(); break; case EntityMngFormTypeData.ByParameter: _sorted_list = List.GetSortedList(); break; } PgMng.Grow(string.Empty, "Lista de Cobros"); }