Beispiel #1
0
        private void FrmS03H_Load(object sender, EventArgs e)
        {
            _accountsPresenter.Display();
            _accountingObjectsPresenter.Display();
            _accountingObjectCategoriesPresenter.Display();
            cboAccount.Text = "<<Tất cả>>";
            cboAccountingObjectCategory.EditValue = "ALL";
            Selection = new GridCheckMarksSelection(gridviewAccountingObject);
            Selection.CheckMarkColumn.VisibleIndex = 0;
            Selection.CheckMarkColumn.Width        = 40;
            gridviewAccountingObject.OptionsSelection.EnableAppearanceFocusedRow  = true;
            gridviewAccountingObject.OptionsSelection.EnableAppearanceFocusedCell = false;

            gridviewAccountingObject.OptionsView.ShowGroupPanel = false;
            gridviewAccountingObject.OptionsView.ShowIndicator  = false;

            dateTimeRangeV1.cboDateRange.SelectedIndex = GlobalVariable.DateRangeSelectedIndex;
            dateTimeRangeV1.FromDate = GlobalVariable.FromDate;
            dateTimeRangeV1.ToDate   = GlobalVariable.ToDate;
        }
 /// <summary>
 /// Loads the data into grid.
 /// </summary>
 protected override void LoadDataIntoGrid()
 {
     _accountingObjectCategoriesPresenter.Display();
     _accountingObjectsPresenter.DisplayByIsEmployee(false);
 }