/// <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
        /// <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;
            }
        }