/// <summary>
 /// Initializes a new instance of the <see cref="FrmXtraFixedAssetCategoryTreeDetail" /> class.
 /// </summary>
 public FrmXtraFixedAssetCategoryTreeDetail()
 {
     InitializeComponent();
     _fixedAssetCategoryPresenter   = new FixedAssetCategoryPresenter(this);
     _fixedAssetCategoriesPresenter = new FixedAssetCategoriesPresenter(this);
     _accountsPresenter             = new AccountsPresenter(this);
 }
コード例 #2
0
 public FrmXtraFixedAssetC55aHD()
 {
     InitializeComponent();
     _fixedAssetCategorysPresenter       = new FixedAssetCategoriesPresenter(this);
     dateTimeRangeV1.DateRangePeriodMode = DateRangeMode.Reduce;
     dateTimeRangeV1.InitSelectedIndex   = GlobalVariable.DateRangeSelectedIndex;
 }
コード例 #3
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;
 }
コード例 #4
0
 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="UserControlFixedAssetCategoryTreeList"/> class.
        /// </summary>
        public UserControlFixedAssetCategoryTreeList()
        {
            InitializeComponent();
            _fixedAssetCategoriesPresenter = new FixedAssetCategoriesPresenter(this);

            // hide button
            VisibleButtonAddNew = false;
            VisibleButtonDelete = false;
        }
コード例 #6
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);
 }
        protected virtual void InitData()
        {
            if (DesignMode)
            {
                return;
            }
            _fixedAssetCategoriesPresenter = new FixedAssetCategoriesPresenter(this);

            _fixedAssetCategoriesPresenter.DisplayComboCheck();
        }
コード例 #8
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;
 }
コード例 #9
0
        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;
        }
コード例 #10
0
        /// <summary>
        /// Initializes a new instance of the <see cref="FrmFixedAssetCategoryDetail"/> class.
        /// </summary>
        public FrmFixedAssetCategoryDetail()
        {
            InitializeComponent();
            _fixedAssetCategoriesPresenter = new FixedAssetCategoriesPresenter(this);
            _fixedAssetCategoryPresenter   = new FixedAssetCategoryPresenter(this);
            _budgetChapterPresenter        = new BudgetChaptersPresenter(this);
            _budgetKindItemsPresenter      = new BudgetKindItemsPresenter(this);
            _budgetItemsPresenter          = new BudgetItemsPresenter(this);
            _accountPresenter = new AccountsPresenter(this);

            if (ActionMode == BuCA.Enum.ActionModeEnum.AddNew)
            {
                ckbActive.Checked = true;
            }
        }
コード例 #11
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;
        }
 public FrmFixedAssetCategories()
 {
     InitializeComponent();
     _fixedAssetCategoriesPresenter = new FixedAssetCategoriesPresenter(this);
 }
コード例 #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmMinutesInventoryFixedAsset"/> class.
 /// </summary>
 public FrmMinutesInventoryFixedAsset()
 {
     InitializeComponent();
     _departmentsPresenter        = new DepartmentsPresenter(this);
     _fixedAssetCategoryPresenter = new FixedAssetCategoriesPresenter(this);
 }