/// <summary> /// Initializes the data. /// </summary> protected override void InitData() { _budgetKindItemsPresenter.Display(); if (KeyValue != null) { _budgetKindItemPresenter.Display(KeyValue); CurrentBudgetKindItemCode = BudgetKindItemCode; } else { if (CurrentNode != null) { txtBudgetKindItemCode.Text = ((BudgetKindItemModel)CurrentNode).BudgetKindItemCode; grdLookUpEditParentId.EditValue = ((BudgetKindItemModel)CurrentNode).BudgetKindItemId; } } }
/// <summary> /// Initializes the data. /// </summary> protected override void InitData() { if (KeyValue != null) { _fixedAssetCategoryPresenter.Display(KeyValue); } else { if (CurrentNode != null) { txtFixedAssetCategoryCode.Text = ((FixedAssetCategoryModel)CurrentNode).FixedAssetCategoryCode; grdLookUpFixedAssetCategoryKind.EditValue = ((FixedAssetCategoryModel)CurrentNode).FixedAssetCategoryId; } } _fixedAssetCategoriesPresenter.Display(); _budgetChapterPresenter.Display(); _budgetKindItemsPresenter.Display(); _budgetItemsPresenter.Display(); _accountPresenter.Display(); txtFixedAssetCategoryCode.Focus(); }
/// <summary> /// Loads the data into tree. /// </summary> protected override void LoadDataIntoTree() { _budgetKindItemsPresenter.Display(); treeList.ExpandAll(); }