示例#1
0
        private void btnNext_Click(object sender, EventArgs e)
        {
            string questionResultA = radCheckD01A.Checked ? "A" : radCheckD01B.Checked?"B":"";
            M_QuestionnaireResultDetail questionA = new M_QuestionnaireResultDetail();

            questionA.QuestionCode   = Public.QuestionnaireCode.ZaoAiRuXianAi + ".D01";
            questionA.QuestionType   = 1;   //单选
            questionA.QuestionResult = questionResultA;
            ClientInfo.AddQuestionToQuestionnaire(questionA, QuestionnaireCode.ZaoAiRuXianAi);

            string questionResult = radCheckD02A.Checked ? "A" : radCheckD02B.Checked?"B":"";
            M_QuestionnaireResultDetail question = new M_QuestionnaireResultDetail();

            question.QuestionCode   = Public.QuestionnaireCode.ZaoAiRuXianAi + ".D02";
            question.QuestionType   = 1;   //单选
            question.QuestionResult = questionResult;
            ClientInfo.AddQuestionToQuestionnaire(question, QuestionnaireCode.ZaoAiRuXianAi);


            QuestionE1 questionE1 = new QuestionE1();

            questionE1.TopMost = false;
            questionE1.ShowDialog();
            this.Close();
        }
示例#2
0
        private void btnBefore_Click(object sender, EventArgs e)
        {
            QuestionE1 questionE1 = new QuestionE1();

            questionE1.TopMost = false;
            questionE1.ShowDialog();
            this.Close();
        }