/// <summary> /// Initializes the data. /// </summary> protected override void InitData() { _budgetItemsPresenter.DisplayActive(true); _cashWithdrawTypesPresenter.DisplayList(); _fundStructuresPresenter.Display(); if (KeyValue != null) { _fundStructurePresenter.Display(KeyValue); if (lkuFundStructure.GetColumnValue("FundStructureName") != null) { txtFundStructureName.EditValue = lkuFundStructure.GetColumnValue("FundStructureName").ToString(); } } BindLookUpInvestPeriod(); }
/// <summary> /// Handles the Load event of the FrmChooseCaReceipt control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> private void FrmChooseCaReceipt_Load(object sender, EventArgs e) { _receiptsPresenter.Display(); _fundStructuresPresenter.Display(); _budgetSourcesPresenter.Display(); _projectsPresenter.Display(); // LoadgridView(); Selection = new GridCheckMarksSelection(grdCAReceiptView); Selection.CheckMarkColumn.VisibleIndex = 0; Selection.CheckMarkColumn.Width = 10; }
/// <summary> /// Handles the Load event of the FrmChooseCaPayment control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> private void FrmChooseCaPayment_Load(object sender, EventArgs e) { var _listRefType = new List <RefTypeModel>() { new RefTypeModel() { RefTypeId = (int)RefType.CAPayment }, //new RefTypeModel() { RefTypeId = (int)RefType.CAPaymentInventoryItem }, //new RefTypeModel() { RefTypeId = (int)RefType.CAPaymentDetailFixedAsset }, //new RefTypeModel() { RefTypeId = (int)RefType.CAPaymentTreasury }, }; _fundStructuresPresenter.Display(); _budgetSourcesPresenter.Display(); _projectsPresenter.DisplayByObjectType("2"); // LoadgridView(); Selection = new GridCheckMarksSelection(grdProjectVIew); Selection.CheckMarkColumn.VisibleIndex = 0; Selection.CheckMarkColumn.Width = 10; }
//#endregion /// <summary> /// Loads the data into tree. /// </summary> protected override void LoadDataIntoTree() { _fundStructuresPresenter.Display(); }