private void grcReCheckDtl_DoubleClick(object sender, EventArgs e)
        {
            AnswerErrorDataDto answer = grvReCheckDtl.GetFocusedRow() as AnswerErrorDataDto;

            if (answer != null)
            {
                int     order       = 0;
                char    checkType   = '0';
                string  examType    = "";
                string  projectCode = CommonHandler.GetComboBoxSelectedValue(cboProject).ToString();
                string  subjectCode = answer.SubjectCode;
                DataSet ds          = webService.SearchSubjectBySubjectCodeAndProjectCode(projectCode, subjectCode);
                if (ds.Tables[0].Rows.Count > 0)
                {
                    order    = Convert.ToInt32(ds.Tables[0].Rows[0]["OrderNO"]);
                    examType = Convert.ToString(ds.Tables[0].Rows[0]["SubjectTypeCodeExam"]);
                }
                DataSet dsCheckType = webService.SearchPassReCheckBySubjectCodeAndShopCode(projectCode, subjectCode, answer.ShopCode);
                if (dsCheckType.Tables[0].Rows.Count > 0)
                {
                    //checkType = Convert.ToChar(dsCheckType.Tables[0].Rows[0]["CheckType"]);
                }
                AnswerSubjectForm a = new AnswerSubjectForm(projectCode,
                                                            subjectCode,
                                                            answer.ShopCode, answer.ShopName, order, checkType, this.UserInfoDto, examType, "");
                a.ShowDialog();
            }
        }
        private void SearchRecheckDtl()
        {
            string projectCode = CommonHandler.GetComboBoxSelectedValue(cboProject).ToString();
            string errorType   = CommonHandler.GetComboBoxSelectedValue(cboErrorType).ToString();

            List <AnswerErrorDataDto> reCheckDtlList = new List <AnswerErrorDataDto>();
            DataSet ds = new DataSet();

            if (errorType == "1")
            {
                ds = webService.SearchAnswerErrorScore_SubjectScore(projectCode);
            }
            else if (errorType == "2")
            {
                ds = webService.SearchAnswerErrorScore_MScore(projectCode);
            }
            else
            {
                ds = webService.SearchAnswerErrorScore_PhotoScore(projectCode);
            }
            if (ds.Tables[0].Rows.Count > 0)
            {
                for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                {
                    AnswerErrorDataDto reCheckDtl = new AnswerErrorDataDto();
                    reCheckDtl.ProjectCode = Convert.ToString(ds.Tables[0].Rows[i]["ProjectCode"]);
                    reCheckDtl.SubjectCode = Convert.ToString(ds.Tables[0].Rows[i]["SubjectCode"]);
                    reCheckDtl.ShopCode    = Convert.ToString(ds.Tables[0].Rows[i]["ShopCode"]);
                    reCheckDtl.ShopName    = Convert.ToString(ds.Tables[0].Rows[i]["ShopName"]);

                    reCheckDtlList.Add(reCheckDtl);
                }
                grcReCheckDtl.DataSource = reCheckDtlList;
            }
            else
            {
                CommonHandler.ShowMessage(MessageType.Information, "没有数据");
                grcReCheckDtl.DataSource = null;
            }
        }