示例#1
0
        private void FrmA02LDTLLE_Load(object sender, System.EventArgs e)
        {
            dateTimeRangeV1.DateTimeRangeSelectedIndexEvent += cboDropDown_SelectedIndexChanged;
            _salaryVouchersPresenter.DisplayAllIsRetail("8/1/2015", true, 600);
            _employeesPresenter.DisplayIsRetail(dateTimeRangeV1.FromDate.Month + "/" + dateTimeRangeV1.FromDate.Day + "/" + 1975, true);
            grdEmployee.Visible = false;

            Selection1 = new GridCheckMarksSelection(gridViewEmployee);
            Selection1.CheckMarkColumn.VisibleIndex = 0;
            Selection1.CheckMarkColumn.Width        = 30;

            Selection2 = new GridCheckMarksSelection(grdViewVoucher);
            Selection2.CheckMarkColumn.VisibleIndex = 0;
            Selection2.CheckMarkColumn.Width        = 30;

            LoadGridEmployeesLayout();
            LoadGridSalaryVoucherLayout();
        }