/// <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="FrmOpeningSupplyEntryDetail"/> class. /// </summary> public FrmOpeningSupplyEntryDetail() { InitializeComponent(); _departmentsPresenter = new DepartmentsPresenter(this); _openingSupplyEntriesPresenter = new OpeningSupplyEntriesPresenter(this); _inventoryItemsPresenter = new InventoryItemsPresenter(this); }
public FrmXtraInventoryItemDetail() { InitializeComponent(); _inventoryItemPresenter = new InventoryItemPresenter(this); _departmentsPresenter = new DepartmentsPresenter(this); _accountsPresenter = new AccountsPresenter(this); _currenciesPresenter = new CurrenciesPresenter(this); #region load Tiền tệ //var table = new DataTable(); //table.Columns.Add("CurrencyCode", typeof (string)); //table.Rows.Add(CurrencyAccounting); //if (CurrencyAccounting != CurrencyLocal) //{ // table.Rows.Add(CurrencyLocal); //} //cboCurrencyCode.Properties.DataSource = table; //cboCurrencyCode.Properties.ValueMember = "CurrencyCode"; //cboCurrencyCode.Properties.DisplayMember = "CurrencyCode"; //cboCurrencyCode.Properties.ShowHeader = false; //cboCurrencyCode.Properties.ShowFooter = false; #endregion }
public FrmToolIncreDecre() { InitializeComponent(); _departmentsPresenter = new DepartmentsPresenter(this); _inventoryItemCategoriesPresenter = new InventoryItemCategoriesPresenter(this); _inventoryItemsPresenter = new InventoryItemsPresenter(this); }
/// <summary> /// Initializes a new instance of the <see cref="FrmEmployeeDetail"/> class. /// </summary> public FrmEmployeeDetail() { InitializeComponent(); GlobalVariable.EmployeeIDDetailForm = ""; _accountingObjectPresenter = new AccountingObjectPresenter(this); _employeeTypesPresenter = new EmployeeTypesPresenter(this); _departmentsPresenter = new DepartmentsPresenter(this); }
public FrmFixedAssets() { InitializeComponent(); _FixedAssetsPresenter = new FixedAssetsPresenter(this); _departmentsPresenter = new DepartmentsPresenter(this); _fixedAssetCategoriesPresenter = new FixedAssetCategoriesPresenter(this); barButtonItemRole.Visibility = BarItemVisibility.Never; }
/// <summary> /// Initializes a new instance of the <see cref="FrmS11H"/> class. /// </summary> public FrmMinutesInventoryTool() { InitializeComponent(); _departmentsPresenter = new DepartmentsPresenter(this); _inventoryItemCategoriesPresenter = new InventoryItemCategoriesPresenter(this); dateTimeRangeV1.DateRangePeriodMode = DateRangeMode.All; dateTimeRangeV1.InitSelectedIndex = 7; }
//************************************************** //* FILL DATA ON START //************************************************** private void InitializeFormWithData() { _departmentsPresenter = new DepartmentsPresenter(new DepartmentsServices()); departmentSearchTextBox.PreviewTextInput += departmentSearchTextBox.OnlyLettersValidationTextBox; newDepartmentNameTextbox.PreviewTextInput += newDepartmentNameTextbox.OnlyLettersValidationTextBox; departmentChkBox.IsChecked = true; departmentGrid.ItemsSource = departamentoList; getAllDepartments(); }
public FrmXtraEmployeeDetail() { InitializeComponent(); _dbOptionHelper = new GlobalVariable(); _departmentsPresenter = new DepartmentsPresenter(this); _employeePresenter = new EmployeePresenter(this); _payItemsPresenter = new PayItemsPresenter(this); _globalVariable = new GlobalVariable(); }
/// <summary> /// Initializes a new instance of the <see cref="FrmS26HFixedAsset"/> class. /// </summary> public FrmS26HFixedAsset() { InitializeComponent(); _departmentsPresenter = new DepartmentsPresenter(this); dateTimeRangeV1.DateRangePeriodMode = DateRangeMode.All; dateTimeRangeV1.InitSelectedIndex = 7; _FixedAssetsPresenter = new FixedAssetsPresenter(this); _inventoryItemCategoriesPresenter = new InventoryItemCategoriesPresenter(this); _fixedAssetCategoriesPresenter = new FixedAssetCategoriesPresenter(this); }
/// <summary> /// Initializes a new instance of the <see cref="FrmToolDetail" /> class. /// </summary> public FrmToolDetail() { InitializeComponent(); _inventoryItemPresenter = new InventoryItemPresenter(this); _stocksPresenter = new StocksPresenter(this); _accountsPresenter = new AccountsPresenter(this); _inventoryItemCategoriesPresenter = new InventoryItemCategoriesPresenter(this); _accountingObjectsPresenters = new AccountingObjectsPresenter(this); _departmentsPresenter = new DepartmentsPresenter(this); }
public UserControlSUIncrementList() { InitializeComponent(); _sUIncrementDecrementsPresenter = new SUIncrementDecrementsPresenter(this); _inventoryItemsPresenter = new InventoryItemsPresenter(this); _departmentsPresenter = new DepartmentsPresenter(this); _inventoryItemsPresenter.Display(); _departmentsPresenter.Display(); }
/// <summary> /// Initializes a new instance of the <see cref="FrmS22H" /> class. /// </summary> public FrmFixedAssetS24H() { InitializeComponent(); _fixedAssetCategoriesPresenter = new FixedAssetCategoriesPresenter(this); _departmentsPresenter = new DepartmentsPresenter(this); _fixedAssetsPresenter = new FixedAssetsPresenter(this); _fixedAssetsPresenter.Display(); Selection = new GridCheckMarksSelection(gridFixedAssetControlView); Selection.CheckMarkColumn.VisibleIndex = 0; Selection.CheckMarkColumn.Width = 50; }
public FrmXtraFixedAssetS26H() { InitializeComponent(); this.Load += FrmXtraFixedAssetS26H_Load; this.cbbFixedAssetType.SelectedIndexChanged += cbbFixedAssetType_SelectedIndexChanged; _departmentPresenter = new DepartmentsPresenter(this); _fixedAssetCategoriesPresenter = new FixedAssetCategoriesPresenter(this); FixedAssetType = 0; dateTimeRangeV1.InitSelectedIndex = 7; }
public FrmOpeningSupplyEntryDetail() { InitializeComponent(); _departmentsPresenter = new DepartmentsPresenter(this); _openingSupplyEntriesPresenter = new OpeningSupplyEntriesPresenter(this); _inventoryItemsPresenter = new InventoryItemsPresenter(this); _rpsCurrency = new RepositoryItemGridLookUpEdit(); _rpsCalcNumber.Mask.MaskType = MaskType.Numeric; _rpsCalcNumber.Mask.EditMask = @"c" + globalVariable.CurrencyDecimalDigits; _rpsCalcNumber.Mask.UseMaskAsDisplayFormat = true; _rpsCalcNumber.Mask.Culture = Thread.CurrentThread.CurrentCulture; }
/// <summary> /// Initializes a new instance of the <see cref="UserControlFADecrementList"/> class. /// </summary> public UserControlFADecrementList() { InitializeComponent(); _gridLookUpEditFixedAsset = new RepositoryItemGridLookUpEdit(); _gridLookUpEditAutoBusiness = new RepositoryItemGridLookUpEdit(); _gridLookUpEditProject = new RepositoryItemGridLookUpEdit(); _gridLookUpEditDepartment = new RepositoryItemGridLookUpEdit(); _gridLookUpEditVoucherType = new RepositoryItemGridLookUpEdit(); _fixedAssetsPresenter = new FixedAssetsPresenter(this); _fixedAssetDecrementsPresenter = new FixedAssetDecrementsPresenter(this); _autoBusinessPresenter = new AutoBusinessesPresenter(this); _projectsPresenter = new ProjectsPresenter(this); _departmentsPresenter = new DepartmentsPresenter(this); _voucherTypesPresenter = new VoucherTypesPresenter(this); }
public frmPUInvoices() { InitializeComponent(); _departmentsPresenter = new DepartmentsPresenter(this); _fixedAssetsPresenter = new FixedAssetsPresenter(this); _banksPresenter = new BanksPresenter(this); _pUInvoicesPresenter = new PUInvoicesPresenter(this); this.RefTypeId = BuCA.Enum.RefType.PUInvoiceFixedAsset; this.FormDetail = nameof(FrmPUInvoiceDetailFixedAsset); this.FormCaption = CommonText.CaptionPUInvoices; this.TablePrimaryKey = nameof(PUInvoiceModel.RefId); this.NamespaceForm = this.GetType().Namespace; _model = new Model.Model(); }
public frmFAIncrementDecrements() { InitializeComponent(); _departmentsPresenter = new DepartmentsPresenter(this); _fixedAssetsPresenter = new FixedAssetsPresenter(this); _banksPresenter = new BanksPresenter(this); _fAIncrementDecrementsPresenter = new FAIncrementDecrementsPresenter(this); this.RefTypeId = BuCA.Enum.RefType.FAIncrementDecrement; this.FormDetail = nameof(frmFAIncrementDecrementDetail); this.FormCaption = CommonText.CaptionFAIncrementDecrement; this.TablePrimaryKey = nameof(FAIncrementDecrementModel.RefId); this.NamespaceForm = this.GetType().Namespace; _model = new Model.Model(); }
public FrmFixedAssetS24H() { InitializeComponent(); popupContainerEdit.Closed += popupContainerEdit_Closed; _lookUpFixedAssetCategoryEdit = new RepositoryItemLookUpEdit(); dateTimeRangeV1.DateRangePeriodMode = DateRangeMode.Reduce; dateTimeRangeV1.InitSelectedIndex = GlobalVariable.DateRangeSelectedIndex; bindingSource = new BindingSource(); _departmentsPresenter = new DepartmentsPresenter(this); _fixedAssetCategoriesPresenter = new FixedAssetCategoriesPresenter(this); _fixedAssetsPresenter = new FixedAssetsPresenter(this); gridFixedAsset.DataSource = bindingSource; gridViewFixedAsset.Click += gridViewFixedAsset_Click; //gridViewFixedAsset.RowClick += gridViewFixedAsset_RowClick; }
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="UserControlDepartmentList"/> class. /// </summary> public UserControlDepartmentList() { InitializeComponent(); _departmentsPresenter = new DepartmentsPresenter(this); }
public FrmOpeningSupplyEntries() { InitializeComponent(); _openingSupplyEntriesPresenter = new OpeningSupplyEntriesPresenter(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); }
public FrmXtraDepartmentDetail() { InitializeComponent(); _departmentPresenter = new DepartmentPresenter(this); _departmentsPresenter = new DepartmentsPresenter(this); }
/// <summary> /// Initializes a new instance of the <see cref="FrmMinutesInventoryFixedAsset"/> class. /// </summary> public FrmMinutesInventoryFixedAsset() { InitializeComponent(); _departmentsPresenter = new DepartmentsPresenter(this); _fixedAssetCategoryPresenter = new FixedAssetCategoriesPresenter(this); }
/// <summary> /// Initializes a new instance of the <see cref="FrmDepartments" /> class. /// </summary> public FrmDepartments() { InitializeComponent(); _departmentsPresenter = new DepartmentsPresenter(this); }