protected override void LoadDataIntoGrid()
        {
            _fixedAssetsPresenter.DisplayByActive(true);
            _departmentsPresenter.DisplayActive();
            _banksPresenter.DisplayActive(true);

            bindingSource.AllowNew = true;

            _pUInvoicesPresenter.Display((int)this.RefTypeId);
        }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="FrmS11H" /> class.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
        private void FrmS26HFixedAsset_Load(object sender, EventArgs e)
        {
            _departmentsPresenter.DisplayActive();
            _FixedAssetsPresenter.DisplayByActive(true);
            _fixedAssetCategoriesPresenter.Display();

            cboInventoryItemCategories.EditValue   = "A0624CFA-D105-422F-BF20-11F246704DC3";
            cboDepartments.EditValue               = "A0624CFA-D105-422F-BF20-11F246704DC3";
            dateTimeRangeV1.cboDateRange.EditValue = GlobalVariable.DateRangeSelected;
            dateTimeRangeV1.FromDate               = GlobalVariable.FromDate;
            dateTimeRangeV1.ToDate = GlobalVariable.ToDate;
        }