public UserControlAccountingObjectList() { InitializeComponent(); rpsAccountingObjectCategory = new RepositoryItemGridLookUpEdit(); _accountingObjectsPresenter = new AccountingObjectsPresenter(this); }
public FrmC2_02bNS(string refId, string target, string bank, Enum.RefType refType = Enum.RefType.BUPlanWithDrawCash) { InitializeComponent(); Model = new Model(); _refType = refType; _banksPresenter = new BanksPresenter(this); _projectsPresenter = new ProjectsPresenter(this); _accountingObjectsPresenter = new AccountingObjectsPresenter(this); _budgetChaptersPresenter = new BudgetChaptersPresenter(this); _budgetItemsPresenter = new BudgetItemsPresenter(this); InitData(); RefId = refId; LoadDataIntoGridDetail(refId); gridDetailView.OptionsView.ShowGroupPanel = false; gridDetailView.OptionsView.ShowIndicator = false; for (int i = 0; i < gridDetailView.RowCount; i++) { var Amount = gridDetailView.GetRowCellValue(i, "Amount") == null ? 0 : (decimal)gridDetailView.GetRowCellValue(i, "Amount"); var AmountTax = gridDetailView.GetRowCellValue(i, "AmountTax") == null ? 0 : (decimal)gridDetailView.GetRowCellValue(i, "AmountTax"); gridDetailView.SetRowCellValue(i, "AmountNet", Amount - AmountTax); } cboBankAccount.EditValue = bank; cboTargetProgramId.EditValue = target; }
/// <summary> /// Initializes a new instance of the <see cref="FrmEmployees"/> class. /// </summary> public FrmEmployees() { InitializeComponent(); _accountingObjectsPresenter = new AccountingObjectsPresenter(this); _departmentsPresenter = new DepartmentsPresenter(this); _banksPresenter = new BanksPresenter(this); }
/// <summary> /// Initializes a new instance of the <see cref="FrmAccountingObjects"/> class. /// </summary> public FrmAccountingObjects() { InitializeComponent(); //InitRepositoryControlData(); _accountingObjectsPresenter = new AccountingObjectsPresenter(this); _accountingObjectCategoriesPresenter = new AccountingObjectCategoriesPresenter(this); }
/// <summary> /// Initializes a new instance of the <see cref="FrmS03H"/> class. /// </summary> public FrmS34H() { InitializeComponent(); _accountsPresenter = new AccountsPresenter(this); _accountingObjectsPresenter = new AccountingObjectsPresenter(this); _accountingObjectCategoriesPresenter = new AccountingObjectCategoriesPresenter(this); }
/// <summary> /// Initializes a new instance of the <see cref="FrmXtraAccountingObjectDetail"/> class. /// </summary> public FrmAllProjectDetail() { InitializeComponent(); _projectPresenter = new ProjectPresenter(this); _projectsPresenter = new ProjectsPresenter(this); _banksPresenter = new BanksPresenter(this); _accountingObjectsPresenter = new AccountingObjectsPresenter(this); }
/// <summary> /// Initializes a new instance of the <see cref="FrmInventoryItemDetail" /> class. /// </summary> public FrmInventoryItemDetail() { InitializeComponent(); _inventoryItemPresenter = new InventoryItemPresenter(this); _stocksPresenter = new StocksPresenter(this); _accountsPresenter = new AccountsPresenter(this); _inventoryItemCategoriesPresenter = new InventoryItemCategoriesPresenter(this); _accountingObjectsPresenters = new AccountingObjectsPresenter(this); }
/// <summary> /// Initializes a new instance of the <see cref=""/> class. /// </summary> public FrmContractDetail() { InitializeComponent(); _currenciesPresenter = new CurrenciesPresenter(this); _ProjectsPresenter = new ProjectsPresenter(this); _accountingObjectsPresenter = new AccountingObjectsPresenter(this); _budgetSourcesPresenter = new BudgetSourcesPresenter(this); _ContractPresenter = new ContractPresenter(this); barManager1.AllowShowToolbarsPopup = false; barManager1.StatusBar.Visible = false; }
public frmS33_H(string ReportID) { InitializeComponent(); _reportID = ReportID; switch (_reportID) { case CommonText.ReportS61H: labelControl3.Location = labelControl2.Location; lkAccount.Location = lkAccountingObject.Location; labelControl2.Visible = false; lkAccountingObject.Visible = false; break; } _accountingObjectsPresenter = new AccountingObjectsPresenter(this); _accountsPresenter = new AccountsPresenter(this); }
public FrmS33H() { InitializeComponent(); dateTimeRangeV1.DateRangePeriodMode = DateRangeMode.Reduce; dateTimeRangeV1.InitSelectedIndex = GlobalVariable.DateRangeSelectedIndex; _dbOptionHelper = new GlobalVariable(); CurrencyAccounting = _dbOptionHelper.CurrencyAccounting; _accountsPresenter = new AccountsPresenter(this); _banksPresenter = new BanksPresenter(this); _vendorsPresenter = new VendorsPresenter(this); _fixedAssetsPresenter = new FixedAssetsPresenter(this); _vendorsPresenter = new VendorsPresenter(this); _employeesPresenter = new EmployeesPresenter(this); _accountingObjectsPresenter = new AccountingObjectsPresenter(this); _accountsPresenter = new AccountsPresenter(this); _budgetSourcesPresenter = new BudgetSourcesPresenter(this); _budgetItemsPresenter = new BudgetItemsPresenter(this); _voucherTypesPresenter = new VoucherTypesPresenter(this); _projectsPresenter = new ProjectsPresenter(this); _inventoryItemsPresenter = new InventoryItemsPresenter(this); _departmentsPresenter = new DepartmentsPresenter(this); }
/// <summary> /// Initializes a new instance of the <see cref="FrmS03H"/> class. /// </summary> public FrmC33BB() { InitializeComponent(); _departmentsPresenter = new DepartmentsPresenter(this); _accountingObjectsPresenter = new AccountingObjectsPresenter(this); }
/// <summary> /// Initializes a new instance of the <see cref="UserControlAccountingObjectList"/> class. /// </summary> public UserControlAccountingObjectList() { InitializeComponent(); _accountingObjectsPresenter = new AccountingObjectsPresenter(this); }