コード例 #1
0
        private void FrmS33H_Load(object sender, EventArgs e)
        {
            _vendorsPresenter.Display();
            _accountsPresenter.Display();
            _inventoryItemsPresenter.Display();
            _budgetSourcesPresenter.Display();
            _budgetItemsPresenter.Display();
            _accountingObjectsPresenter.Display();
            _voucherTypesPresenter.Display();
            _projectsPresenter.Display();
            _employeesPresenter.Display();
            _accountingObjectsPresenter.Display();
            _voucherTypesPresenter.Display();
            _departmentsPresenter.Display();
            _fixedAssetsPresenter.Display();
            _banksPresenter.DisplayActive();
            InitDefaultCurrencies();
            chkCurrency.Checked = false;

            // Ẩn theo nghiệp vụ mới từ BA
            chkCurrency.Enabled      = false;
            chkProject.Enabled       = false;
            chkInventoryItem.Enabled = false;
            chkVendor.Enabled        = false;
        }
コード例 #2
0
 /// <summary>
 /// Handles the Load event of the FrmChooseCaReceipt control.
 /// </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 FrmChooseCaReceipt_Load(object sender, EventArgs e)
 {
     _receiptsPresenter.Display();
     _fundStructuresPresenter.Display();
     _budgetSourcesPresenter.Display();
     _projectsPresenter.Display();
     // LoadgridView();
     Selection = new GridCheckMarksSelection(grdCAReceiptView);
     Selection.CheckMarkColumn.VisibleIndex = 0;
     Selection.CheckMarkColumn.Width        = 10;
 }
コード例 #3
0
        protected override void InitData()
        {
            _accountsPresenter.DisplayActive();
            _budgetItemsPresenter.DisplayActive();
            _budgetSourcesPresenter.Display();

            if (KeyValue == null)
            {
                return;
            }
            _budgetSourcePresenter.Display(KeyValue);
        }
コード例 #4
0
        /// <summary>
        /// Handles the Load event of the FrmChooseCaPayment control.
        /// </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 FrmChooseCaPayment_Load(object sender, EventArgs e)
        {
            var _listRefType = new List <RefTypeModel>()
            {
                new RefTypeModel()
                {
                    RefTypeId = (int)RefType.CAPayment
                },
                //new RefTypeModel() { RefTypeId = (int)RefType.CAPaymentInventoryItem },
                //new RefTypeModel() { RefTypeId = (int)RefType.CAPaymentDetailFixedAsset },
                //new RefTypeModel() { RefTypeId = (int)RefType.CAPaymentTreasury },
            };

            _fundStructuresPresenter.Display();
            _budgetSourcesPresenter.Display();
            _projectsPresenter.DisplayByObjectType("2");
            // LoadgridView();
            Selection = new GridCheckMarksSelection(grdProjectVIew);
            Selection.CheckMarkColumn.VisibleIndex = 0;
            Selection.CheckMarkColumn.Width        = 10;
        }
コード例 #5
0
 /// <summary>
 /// Loads the data into tree.
 /// </summary>
 protected override void LoadDataIntoTree()
 {
     _budgetSourcesPresenter.Display();
 }
コード例 #6
0
 private void FrmLedgerAccountingS104H_Load(object sender, EventArgs e)
 {
     _budgetSourcesPresenter.Display();
 }