Exemplo n.º 1
0
        public void OnLoadView()
        {
            dataHandler = new XtraGridDataHandler <SalesConsultantDto>(grvSaleContant);
            CommonHandler.SetRowNumberIndicator(grvSaleContant);
            grcSaleContant.DataSource = new List <SalesConsultantDto>();
            selection = new GridCheckMarksSelection(grvSaleContant);
            selection.CheckMarkColumn.VisibleIndex = 0;

            dataHandler1 = new XtraGridDataHandler <LossDescDto>(grvLossDesc);
            CommonHandler.SetRowNumberIndicator(grvLossDesc);
            grcLossDesc.DataSource = new List <LossDescDto>();
            selection1             = new GridCheckMarksSelection(grvLossDesc);
            selection1.CheckMarkColumn.VisibleIndex = 0;

            SearchSaleContant();
            BindComBox.BindLoss(cboLoss, cboLoss2, cboLoss3, CommonHandler.GetComboBoxSelectedValue(cboProject).ToString(), txtSubjectCode.Text);
        }