Example #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="UserControlFixedAssetList" /> class.
 /// </summary>
 public UserControlFixedAssetList()
 {
     InitializeComponent();
     _fixedAssetsPresenter                   = new FixedAssetsPresenter(this);
     _fixedAssetLedgersPresenter             = new FixedAssetLedgersPresenter(this);
     barButtonPrintFixedAssetItem.Visibility = BarItemVisibility.Always;
 }
Example #2
0
 public FrmXtraOpeningFixedAssetEntryDetail()
 {
     InitializeComponent();
     _accountsPresenter = new AccountsPresenter(this);
     _openingFixedAssetEntriesPresenter = new OpeningFixedAssetEntriesPresenter(this);
     _fixedAssetsPresenter = new FixedAssetsPresenter(this);
     // _openingInventoryEntriesPresenter = new OpeningInventoryEntriesPresenter(this);
 }
Example #3
0
 public FrmFixedAssets()
 {
     InitializeComponent();
     _FixedAssetsPresenter          = new FixedAssetsPresenter(this);
     _departmentsPresenter          = new DepartmentsPresenter(this);
     _fixedAssetCategoriesPresenter = new FixedAssetCategoriesPresenter(this);
     barButtonItemRole.Visibility   = BarItemVisibility.Never;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmS22H" /> class.
 /// </summary>
 public FrmFixedAssetC56()
 {
     InitializeComponent();
     _fixedAssetCategoriesPresenter    = new FixedAssetCategoriesPresenter(this);
     _fixedAssetsPresenter             = new FixedAssetsPresenter(this);
     checkChooseFixedAsset.EditValue   = 0;
     dateTimeRangeV1.InitSelectedIndex = 0;
 }
Example #5
0
 /// <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);
 }
Example #6
0
 /// <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;
 }
Example #7
0
        /// <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();
        }
Example #10
0
        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;
        }
Example #11
0
        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);
        }
Example #12
0
 public FrmXtraFormFAArmortizationDetail()
 {
     InitializeComponent();
     _fixedAssetArmortizationPresenter = new FixedAssetArmortizationPresenter(this);
     _fixedAssetsPresenter             = new FixedAssetsPresenter(this);
 }