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; }
private void InitData() { _banksPresenter.DisplayActive(true); _projectsPresenter.Display(); _accountingObjectsPresenter.Display(); _budgetChaptersPresenter.Display(); _budgetItemsPresenter.DisplayActive(true); }
private void FrmS03H_Load(object sender, EventArgs e) { _departmentsPresenter.Display(); _accountingObjectsPresenter.Display(); cboDepartment.Text = "<<Tất cả>>"; Selection = new GridCheckMarksSelection(gridviewAccountingObject); Selection.CheckMarkColumn.VisibleIndex = 0; Selection.CheckMarkColumn.Width = 40; gridviewAccountingObject.OptionsSelection.EnableAppearanceFocusedRow = true; gridviewAccountingObject.OptionsSelection.EnableAppearanceFocusedCell = false; }
private void lookUpEditAccountingObject_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { if (e.Button.Index.Equals(1)) { using (var frmDetail = new FrmXtraAccountingObjectDetail()) { frmDetail.ShowDialog(); if (frmDetail.CloseBox) { if (!string.IsNullOrEmpty(GlobalVariable.AccountingObjectIDInventoryItemDetailForm)) { _accountingObjectsPresenter.Display(); lkVendor.EditValue = GlobalVariable.AccountingObjectIDInventoryItemDetailForm; } } } } }
private void FrmS03H_Load(object sender, EventArgs e) { _accountsPresenter.Display(); _accountingObjectsPresenter.Display(); _accountingObjectCategoriesPresenter.Display(); cboAccount.Text = "<<Tất cả>>"; cboAccountingObjectCategory.EditValue = "ALL"; Selection = new GridCheckMarksSelection(gridviewAccountingObject); Selection.CheckMarkColumn.VisibleIndex = 0; Selection.CheckMarkColumn.Width = 40; gridviewAccountingObject.OptionsSelection.EnableAppearanceFocusedRow = true; gridviewAccountingObject.OptionsSelection.EnableAppearanceFocusedCell = false; gridviewAccountingObject.OptionsView.ShowGroupPanel = false; gridviewAccountingObject.OptionsView.ShowIndicator = false; dateTimeRangeV1.cboDateRange.SelectedIndex = GlobalVariable.DateRangeSelectedIndex; dateTimeRangeV1.FromDate = GlobalVariable.FromDate; dateTimeRangeV1.ToDate = GlobalVariable.ToDate; }
/// <summary> /// Loads the data into grid. /// </summary> protected override void LoadDataIntoGrid() { _accountingObjectsPresenter.Display(); }