Exemplo n.º 1
0
        private void btnBefore_Click(object sender, EventArgs e)
        {
            QuestionE1 questionE1 = new QuestionE1();

            questionE1.TopMost = false;
            questionE1.ShowDialog();
            this.Close();
        }
Exemplo n.º 2
0
        private void btnNext_Click(object sender, EventArgs e)
        {
            string questionResultA = this.radCheckD01A.Checked ? "A" : radCheckD01B.Checked ? "B" : "";
            M_QuestionnaireResultDetail questionA = new M_QuestionnaireResultDetail();

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

            string questionResultB = this.radCheckD02A.Checked ? "A" : radCheckD02B.Checked?"B":"";
            M_QuestionnaireResultDetail questionB = new M_QuestionnaireResultDetail();

            questionB.QuestionCode   = Public.QuestionnaireCode.ZaoAiDaChangAi + ".D02";
            questionB.QuestionType   = 1;   //单选
            questionB.QuestionResult = questionResultB;
            ClientInfo.AddQuestionToQuestionnaire(questionB, QuestionnaireCode.ZaoAiDaChangAi);

            QuestionE1 questionE1 = new QuestionE1();

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