コード例 #1
0
        protected override void RefreshMainData()
        {
            PgMng.Grow(string.Empty, "Effect");

            _selectedOid = ActiveOID;

            switch (DataType)
            {
            case EntityMngFormTypeData.Default:
                if (Library.Common.ModulePrincipal.GetUseActiveYear())
                {
                    List = FinancialCashList.GetList(Library.Common.ModulePrincipal.GetActiveYear().Year, false);
                }
                else
                {
                    List = FinancialCashList.GetList(false);
                }
                break;

            case EntityMngFormTypeData.ByParameter:
                _sorted_list = List.GetSortedList();
                break;
            }
            PgMng.Grow(string.Empty, "Lista de Effects");
        }
コード例 #2
0
        public override void PrintList()
        {
            PgMng.Reset(3, 1, Face.Resources.Messages.LOADING_DATA, this);
            FinancialCashReportMng reportMng = new FinancialCashReportMng(AppContext.ActiveSchema, this.Text, FilterValues);

            PgMng.Grow(Face.Resources.Messages.BUILDING_REPORT);
            ReportClass report = reportMng.GetListReport(FinancialCashList.GetList((IList <FinancialCashInfo>)Datos.List));

            PgMng.FillUp();

            ShowReport(report);
        }
コード例 #3
0
        public FinancialCashMngForm(bool is_modal, Form parent, FinancialCashList list)
            : base(is_modal, 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 = FinancialCashList.NewList().GetSortedList();

            SortProperty  = Vencimiento.DataPropertyName;
            SortDirection = ListSortDirection.Descending;
        }