コード例 #1
0
        public FrmOrdenesPagosListado(IFormFactory formFactory, ILaPazUow uow, IOrdenesPagoNegocio ordenesPagoNegocio)
        {
            FormFactory = formFactory;
            Uow = uow;

            SortColumn = "Fecha";
            SortDirection = "DESC";

            SortColumnMappings = new Dictionary<string, string>();
            SortColumnMappings["ProveedorDenominacion"] = "Proveedor.Denominacion";
            SortColumnMappings["Fecha"] = "Fecha";
            SortColumnMappings["ImporteDebe"] = "ImporteDebe";

            _ordenPagoNegocio = ordenesPagoNegocio;

            InitializeComponent();

            InicializarPaginador();

            //Fix para centrar columnas.
            this.GridOrdenesPago.CellFormatting += this.Grilla_CellFormatting;
            MainGrid = GridOrdenesPago;
            MainPager = OrdenesPagoPager;
            Spinner = ucProgressSpinner1;
        }
コード例 #2
0
        public FrmOrdenesPagosListado(IFormFactory formFactory, ILaPazUow uow, IOrdenesPagoNegocio ordenesPagoNegocio)
        {
            FormFactory = formFactory;
            Uow         = uow;

            SortColumn    = "Fecha";
            SortDirection = "DESC";

            SortColumnMappings = new Dictionary <string, string>();
            SortColumnMappings["ProveedorDenominacion"] = "Proveedor.Denominacion";
            SortColumnMappings["Fecha"]       = "Fecha";
            SortColumnMappings["ImporteDebe"] = "ImporteDebe";

            _ordenPagoNegocio = ordenesPagoNegocio;

            InitializeComponent();

            InicializarPaginador();

            //Fix para centrar columnas.
            this.GridOrdenesPago.CellFormatting += this.Grilla_CellFormatting;
            MainGrid  = GridOrdenesPago;
            MainPager = OrdenesPagoPager;
            Spinner   = ucProgressSpinner1;
        }