コード例 #1
0
        /// <summary>
        /// Handles the Load event of the FrmS13H 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 FrmS13H_Load(object sender, EventArgs e)
        {
            _accountsPresenter.DisplayActive();
            _currenciesPresenter.DisplayActive();
            _banksPresenter.DisplayActive(true);

            SelectionAccount = new GridCheckMarksSelection(gridAccountsView);
            SelectionAccount.CheckMarkColumn.VisibleIndex = 0;
            SelectionAccount.CheckMarkColumn.Width        = 10;
            SelectionAccount.SelectAll();
            switch (1)
            {
            case 1:
            case 2:
                break;
            }

            Selection = new GridCheckMarksSelection(grdViewBank);
            Selection.CheckMarkColumn.VisibleIndex = 0;
            Selection.CheckMarkColumn.Width        = 10;
            Selection.SelectAll();
            switch (1)
            {
            case 1:
            case 2:
                break;
            }
        }
コード例 #2
0
        /// <summary>
        /// Handles the Load event of the FrmS02aH 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 FrmS02aH_Load(object sender, EventArgs e)
        {
            //_accountsPresenter.DisplayActive();
            _glVoucherListsPresenter.Display();
            BindSelectDesignReport();

            dateTimeRangeV1.cboDateRange.SelectedIndex = GlobalVariable.DateRangeSelectedIndex;
            dateTimeRangeV1.FromDate = GlobalVariable.FromDate;
            dateTimeRangeV1.ToDate   = GlobalVariable.ToDate;

            Selection = new GridCheckMarksSelection(gridAccountNumberView);
            Selection.CheckMarkColumn.VisibleIndex = 0;
            Selection.CheckMarkColumn.Width        = 10;
            Selection.SelectAll();
        }
コード例 #3
0
 //select all
 private void button2_Click(object sender, System.EventArgs e)
 {
     selection.SelectAll();
 }