Ejemplo n.º 1
0
 private void FrmFixedAssetS24H_Load(object sender, EventArgs e)
 {
     if ((int)checkChooseFixedAsset.EditValue == 0)
     {
         _fixedAssetCategoriesPresenter.Display();
     }
     if ((int)checkChooseFixedAsset.EditValue == 1)
     {
         _fixedAssetsPresenter.Display();
     }
     gridFixedAssetControl.Visible = true;
     Selection = new GridCheckMarksSelection(gridFixedAssetControlView);
     Selection.CheckMarkColumn.VisibleIndex = 0;
     Selection.CheckMarkColumn.Width        = 10;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="FrmS11H" /> class.
        /// </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 FrmS26HFixedAsset_Load(object sender, EventArgs e)
        {
            _departmentsPresenter.DisplayActive();
            _FixedAssetsPresenter.DisplayByActive(true);
            _fixedAssetCategoriesPresenter.Display();

            cboInventoryItemCategories.EditValue   = "A0624CFA-D105-422F-BF20-11F246704DC3";
            cboDepartments.EditValue               = "A0624CFA-D105-422F-BF20-11F246704DC3";
            dateTimeRangeV1.cboDateRange.EditValue = GlobalVariable.DateRangeSelected;
            dateTimeRangeV1.FromDate               = GlobalVariable.FromDate;
            dateTimeRangeV1.ToDate = GlobalVariable.ToDate;
        }
Ejemplo n.º 3
0
 /// <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();
 }
Ejemplo n.º 4
0
        /// <summary>
        /// Handles the Load event of the FrmMinutesInventoryFixedAsset control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        private void FrmMinutesInventoryFixedAsset_Load(object sender, System.EventArgs e)
        {
            _departmentsPresenter.DisplayActive();
            _fixedAssetCategoryPresenter.Display();
            DateInventory = DateTime.Now.ToString();

            dateTimeRangeV1.cboDateRange.SelectedItem = GlobalVariable.DateRangeSelectedIndex;
            dateTimeRangeV1.FromDate = GlobalVariable.FromDate;
            dateTimeRangeV1.ToDate   = GlobalVariable.ToDate;
            //set value
            cboDepartment.EditValue         = @"0";
            cboFixedAssetCategory.EditValue = @"-1";
            SetupFirtData();
        }
Ejemplo n.º 5
0
        /// <summary>
        /// Handles the Load event of the FrmFixedAssetS24H 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 FrmFixedAssetS24H_Load(object sender, EventArgs e)
        {
            _departmentsPresenter.DisplayActive();
            _fixedAssetCategoriesPresenter.Display();

            //  cboSelectDesignReport.EditValue = 0;
            //checkChooseFixedAsset.Checked = true;
            cboDepartments.EditValue                 = @"00000000-0000-0000-0000-000000000000";
            cboInventoryCategories.EditValue         = @"00000000-0000-0000-0000-000000000000";
            cboShowQuantity.SelectedIndex            = 0;
            cboFixedAssetCategoryGrade.SelectedIndex = 6;
            checkPrintByCondition.Checked            = false;
            checkFixedAssetIncrease.Checked          = false;
            checkFixedAssetNoIncrease.Checked        = false;
            checkFixedAssetOpenning.Checked          = false;
            //checkChooseFixedAsset.Checked = false;
        }
 private void FrmXtraFixedAssetC55aHD_Load(object sender, EventArgs e)
 {
     _fixedAssetCategorysPresenter.Display();
 }
 protected override void LoadDataIntoTree()
 {
     _fixedAssetCategoriesPresenter.Display();
 }
Ejemplo n.º 8
0
 protected override void LoadDataIntoGrid()
 {
     _departmentsPresenter.Display();
     _fixedAssetCategoriesPresenter.Display();
     _FixedAssetsPresenter.Display();
 }