/// <summary> /// Handles the Load event of the FrmS04H 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 FrmS04H_Load(object sender, EventArgs e) { dateTimeRangeV1.cboDateRange.SelectedIndex = GlobalVariable.DateRangeSelectedIndex; dateTimeRangeV1.FromDate = GlobalVariable.FromDate; dateTimeRangeV1.ToDate = GlobalVariable.ToDate; _budgetChaptersPresenter.DisplayByIsActive(true); cboBudgetChapter.EditValue = "<<Tổng hợp>>"; }
private void FrmS03H_Load(object sender, EventArgs e) { _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _budgetSourcesPresenter.DisplayActive(); checkAddSameEntry.Checked = false; cboBudgetSource.EditValue = "<<Tổng hợp>>"; cboBudgetChapter.EditValue = "<<Tổng hợp>>"; cboBudgetKindItem.EditValue = "<<Tổng hợp>>"; }
/// <summary> /// Handles the Load event of the FrmB01BCQT 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 FrmB01BCQT_Load(object sender, EventArgs e) { //dateTimeRangeV1.DateRangePeriodMode = DateRangeMode.All; _budgetSourcesPresenter.DisplayActive(); _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); cboBudgetSource.EditValue = @"<<Tổng hợp>>"; cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; cboBudgetSubKindItem.EditValue = @"<<Tổng hợp>>"; }
/// <summary> /// Handles the Load event of the FrmS12H 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 FrmS12H_Load(object sender, EventArgs e) { _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _banksPresenter.DisplayActive(true); _accountsPresenter.DisplayActive(); cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; cboBudgetSubKindItem.EditValue = @"<<Tổng hợp>>"; cboBankId.EditValue = @"0"; }
/// <summary> /// Handles the Load event of the FrmF0101BCQT 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 FrmF0101BCQT_Load(object sender, System.EventArgs e) { //dateTimeRangeV1.DateRangePeriodMode = DateRangeMode.All; //dateTimeRangeV1.InitSelectedIndex = GlobalVariable.DateRangeSelectedIndex; _budgetSourcesPresenter.DisplayActive(); _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); cboBudgetSource.EditValue = @"<<Tổng hợp>>"; cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; cboBudgetSubKindItem.EditValue = @"<<Tổng hợp>>"; }
/// <summary> /// Initializes the data. /// </summary> protected override void InitData() { _budgetSourcesPresenter.DisplayActive(); _budgetKindItemsPresenter.DisplayActive(); _budgetItemsPresenter.DisplayActive(true); _budgetChaptersPresenter.DisplayByIsActive(true); if (MasterBindingSource != null) { if (MasterBindingSource.Current != null) { KeyValue = ((BUBudgetReserveModel)MasterBindingSource.Current).RefId; } } _buBudgetReservePresenter.Display(KeyValue); if (RefType == 0) { RefType = (int)BuCA.Enum.RefType.BUBudgetReserve; } }
/// <summary> /// Handles the Load event of the FrmS101H 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 FrmS102H1_Load(object sender, System.EventArgs e) { _budgetSourcesPresenter.DisplayActive(); _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _projectsPresenter.DisplayActive(); cboBudgetSource.EditValue = @"<<Tổng hợp>>"; cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; cboBudgetKindItem.EditValue = @"<<Tổng hợp>>"; cboProject.EditValue = @"<<Tổng hợp>>"; }
public void FrmFinacialReportB02BCTC_Load(object sender, EventArgs e) { _budgetChaptersPresenter.DisplayByIsActive(true); cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; dateTimeRangeV1.cboDateRange.SelectedIndex = GlobalVariable.DateRangeSelectedIndex; dateTimeRangeV1.FromDate = GlobalVariable.FromDate; dateTimeRangeV1.ToDate = GlobalVariable.ToDate; //dateTimeRangeV1.FromDate = new DateTime(DateTime.Now.Year, 1, 1); // dateTimeRangeV1.ToDate = new DateTime(DateTime.Now.Year, 12, 31); }
/// <summary> /// Handles the Load event of the FrmFinance 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 FrmFinance_Load(object sender, EventArgs e) { _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _budgetSourcesPresenter.DisplayActive(); cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; cboBudgetKindItem.EditValue = @"<<Tổng hợp>>"; cboBudgetSourceId.EditValue = @"<<Tổng hợp>>"; lookUpEdit1.SelectedIndex = 0; rndOption.SelectedIndex = 1; }
/// <summary> /// Handles the Load event of the FrmC302NS 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 FrmC302NS_Load(object sender, EventArgs e) { _budgetSourcesPresenter.DisplayActive(); _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _budgetItemsPresenter.DisplayActive(true); _projectsPresenter.DisplayActive(); //lookupBudgetSourceKind.EditValue = @"<<Tất cả>>"; cboProject.EditValue = @"<<Không chọn>>"; // Selection.CheckMarkColumn.VisibleIndex = 0; // Selection.CheckMarkColumn.Width = 10; }
/// <summary> /// Handles the Load event of the FrmS11H 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 FrmS11HDetail_Load(object sender, EventArgs e) { _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _accountsPresenter.DisplayActive(); cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; cboBudgetSubKindItem.EditValue = @"<<Tổng hợp>>"; cboAccountNumber.EditValue = @"1111"; }
/// <summary> /// Handles the Load event of the FrmB01H 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 FrmB01H_Load(object sender, EventArgs e) { _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _budgetSourcesPresenter.DisplayActive(); cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; cboBudgetKindItem.EditValue = @"<<Tổng hợp>>"; cboBudgetSourceId.SetEditValue(@"00000000-0000-0000-0000-000000000000"); cboAccountGrade.EditValue = -1; lookUpEdit1.EditValue = 1; InitRepositoryControlData(); }
/// <summary> /// Handles the Load event of the FrmS04H 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 FrmS04H_Load(object sender, EventArgs e) { _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _budgetSourcesPresenter.DisplayActive(); checkAddSameEntry.Checked = false; BindSelectDesignReport(); dateTimeRangeV1.cboDateRange.SelectedIndex = GlobalVariable.DateRangeSelectedIndex; dateTimeRangeV1.FromDate = GlobalVariable.FromDate; dateTimeRangeV1.ToDate = GlobalVariable.ToDate; cboSelectDesignReport.SelectionStart = 1; checkcboBudgetSource.EditValue = "<<Tổng hợp>>"; checkcboBudgetChapter.EditValue = "<<Tổng hợp>>"; checkcboBudgetKindItem.EditValue = "<<Tổng hợp>>"; }
/// <summary> /// Handles the Load event of the FrmFinance 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 FrmFinance_Load(object sender, EventArgs e) { _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _budgetSourcesPresenter.DisplayActive(); _budgetSourceCategoriesPresenter.DisplayActive(); // _dbOptionHelper.Register(); cboBudgetSourceId.EditValue = @"<<Tổng hợp>>"; cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; cboBudgetKindItem.EditValue = @"<<Tổng hợp>>"; cboMethodDistribute.EditValue = @"<<Tổng hợp>>"; cboExpendKind.EditValue = @"00000000-0000-0000-0000-000000000000"; rndOption.SelectedIndex = 1; lookUpEdit1.SelectedIndex = 0; }
/// <summary> /// Handles the Load event of the FrmS101H 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 FrmS101H_Load(object sender, System.EventArgs e) { _budgetSourcesPresenter.DisplayActive(); _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _accountsPresenter.DisplayActive(); _projectsPresenter.DisplayActive(); BindLookUpBudgetSourceKind(); cboBudgetSource.EditValue = @"<<Tổng hợp>>"; cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; cboBudgetKindItem.EditValue = @"<<Tổng hợp>>"; cboAccountNumber.EditValue = @"<<Tổng hợp>>"; cboProject.EditValue = @"00000000-0000-0000-0000-000000000000"; lookupBudgetSourceKind.ItemIndex = 0; }
/// <summary> /// Handles the Load event of the FrmS11H 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 FrmS11H_Load(object sender, EventArgs e) { _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _budgetSourcesPresenter.DisplayActive(); _accountsPresenter.DisplayActive(); dateTimeRangeV1.cboDateRange.SelectedIndex = GlobalVariable.DateRangeSelectedIndex; dateTimeRangeV1.FromDate = GlobalVariable.FromDate; dateTimeRangeV1.ToDate = GlobalVariable.ToDate; cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; cboBudgetSubKindItem.EditValue = @"<<Tổng hợp>>"; cboBudgetSource.SetEditValue("00000000-0000-0000-0000-000000000000"); cboAccountNumber.EditValue = @"1111"; }
private void FrmGLVoucherListLedger_Load(object sender, EventArgs e) { _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _budgetSourcesPresenter.DisplayActive(); _accountsPresenter.DisplayActive(); // _dbOptionHelper.Register(); cboBudgetSourceId.EditValue = @"<<Tổng hợp>>"; cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; cboBudgetKindItem.EditValue = @"<<Tổng hợp>>"; Selection = new GridCheckMarksSelection(gridviewAccountingObject); Selection.CheckMarkColumn.VisibleIndex = 0; Selection.CheckMarkColumn.Width = 40; gridviewAccountingObject.OptionsSelection.EnableAppearanceFocusedRow = true; gridviewAccountingObject.OptionsSelection.EnableAppearanceFocusedCell = false; }
private void FrmS101HPartII_Load(object sender, EventArgs e) { _budgetSourcesPresenter.DisplayActive(); _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _budgetItemsPresenter.DisplayActive(true); // _projectsPresenter.DisplayActive(); // _budgetSourceCategoriesPresenter.DisplayActive(); cboBudgetSource.EditValue = @"<<Tổng hợp>>"; cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; cboBudgetKindItem.EditValue = @"<<Tổng hợp>>"; Selection = new GridCheckMarksSelection(gridViewBudgetItem); Selection.CheckMarkColumn.VisibleIndex = 0; Selection.CheckMarkColumn.Width = 40; gridViewBudgetItem.OptionsSelection.EnableAppearanceFocusedRow = true; gridViewBudgetItem.OptionsSelection.EnableAppearanceFocusedCell = false; }
/// <summary> /// Handles the Load event of the FrmS12H 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 FrmS12H_Load(object sender, EventArgs e) { _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _banksPresenter.DisplayActive(true); _accountsPresenter.DisplayActive(); // dateTimeRangeV1.cboDateRange.SelectedIndex = GlobalVariable.DateRangeSelectedIndex; dateTimeRangeV1.cboDateRange.EditValue = GlobalVariable.ServerName; dateTimeRangeV1.FromDate = GlobalVariable.FromDate; dateTimeRangeV1.ToDate = GlobalVariable.ToDate; cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; cboBudgetSubKindItem.EditValue = @"<<Tổng hợp>>"; cboBankId.EditValue = @"0"; cboAccountNumber.EditValue = @"1121"; }
/// <summary> /// Handles the Load event of the FrmC203NS 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 FrmC203NS_Load(object sender, EventArgs e) { //dateTimeRangeV1.DateRangePeriodMode = DateRangeMode.All; BindLookUpBudgetSourceKind(); _budgetSourcesPresenter.DisplayActive(); _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _budgetItemsPresenter.DisplayActive(true); _banksPresenter.DisplayActive(true); _projectsPresenter.DisplayActive(); cboBudgetSource.EditValue = @"<<Tất cả>>"; cboBudgetChapter.EditValue = @"<<Tất cả>>"; cboBudgetSubKindItem.EditValue = @"<<Tất cả>>"; cboMethod.EditValue = @"<<Tất cả>>"; lookupBudgetSourceKind.EditValue = @"<<Tất cả>>"; cboProject.EditValue = @"<<Không chọn>>"; cboBankAccount.EditValue = @"<<Không chọn>>"; Selection = new GridCheckMarksSelection(gridViewBudgetItem); Selection.CheckMarkColumn.VisibleIndex = 0; Selection.CheckMarkColumn.Width = 10; }
/// <summary> /// Handles the Load event of the FrmS101H3 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 FrmS101H3_Load(object sender, EventArgs e) { _accountsPresenter.DisplayActive(); _budgetSourcesPresenter.DisplayActive(); _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _budgetItemsPresenter.DisplayActive(true); _projectsPresenter.DisplayActive(); BindLookUpBudgetSourceKind(); cboAccountNumber.EditValue = @"<<Tổng hợp>>"; cboBudgetSource.EditValue = @"<<Tổng hợp>>"; cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; cboBudgetKindItem.EditValue = @"<<Tổng hợp>>"; cboProject.EditValue = @"<<Tổng hợp>>"; cboProject.EditValue = @"<<Tổng hợp>>"; lookupBudgetSourceKind.ItemIndex = 0; Selection = new GridCheckMarksSelection(gridViewBudgetItem); Selection.CheckMarkColumn.VisibleIndex = 0; Selection.CheckMarkColumn.Width = 40; gridViewBudgetItem.OptionsSelection.EnableAppearanceFocusedRow = true; gridViewBudgetItem.OptionsSelection.EnableAppearanceFocusedCell = false; }
/// <summary> /// Handles the Load event of the FrmS03H 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 FrmS03H_Load(object sender, EventArgs e) { _budgetChaptersPresenter.DisplayByIsActive(true); _budgetKindItemsPresenter.DisplayActive(); _budgetSourcesPresenter.DisplayActive(); _accountsPresenter.Display(); checkAddSameEntry.Checked = false; dateTimeRangeV1.cboDateRange.SelectedIndex = GlobalVariable.DateRangeSelectedIndex; dateTimeRangeV1.FromDate = GlobalVariable.FromDate; dateTimeRangeV1.ToDate = GlobalVariable.ToDate; checkcboBudgetSource.SetEditValue(@"00000000-0000-0000-0000-000000000000"); checkcboBudgetChapter.EditValue = "<<Tổng hợp>>"; checkcboBudgetKindItem.EditValue = "<<Tổng hợp>>"; Selection = new GridCheckMarksSelection(gridviewAccount); Selection.CheckMarkColumn.VisibleIndex = 0; Selection.CheckMarkColumn.Width = 40; gridviewAccount.OptionsSelection.EnableAppearanceFocusedRow = true; gridviewAccount.OptionsSelection.EnableAppearanceFocusedCell = false; }
private void FrmB03BCQT_Load(object sender, EventArgs e) { _budgetChaptersPresenter.DisplayByIsActive(true); cboBudgetChapter.EditValue = @"<<Tổng hợp>>"; }