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

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

            string questionResultB = this.radCheckC02A.Checked
                    ? "A"
                    : radCheckC02B.Checked ? "B" : radCheckC02C.Checked ? "C" : radCheckC02D.Checked?"D":"";
            M_QuestionnaireResultDetail questionB = new M_QuestionnaireResultDetail();

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

            QuestionC2 questionC2 = new QuestionC2();

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

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