コード例 #1
0
ファイル: QuestionC3.cs プロジェクト: hszc/unity3d_test
        private void btnNext_Click(object sender, EventArgs e)
        {
            string questionResult = radCheckC04A.Checked ? "A" : radCheckC04B.Checked?"B":"";
            M_QuestionnaireResultDetail question = new M_QuestionnaireResultDetail();

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

            if (radCheckC04A.Checked)
            {
                string questionResultA = radCheckC041A.Checked
                        ? "A"
                        : radCheckC041B.Checked ? "B" : radCheckC041C.Checked ? "C" : radCheckC041D.Checked ? "D" : "";
                M_QuestionnaireResultDetail questionA = new M_QuestionnaireResultDetail();
                questionA.QuestionCode   = Public.QuestionnaireCode.ZaoAiFeiAi + ".C04.1";
                questionA.QuestionType   = 1;   //单选
                questionA.QuestionResult = questionResultA;
                ClientInfo.AddQuestionToQuestionnaire(questionA, QuestionnaireCode.ZaoAiFeiAi);
            }

            QuestionE1 questionE1 = new QuestionE1();

            questionE1.TopMost = false;
            questionE1.ShowDialog();
            this.Close();
        }
コード例 #2
0
ファイル: QuestionF1.cs プロジェクト: hszc/unity3d_test
        private void btnBefore_Click(object sender, EventArgs e)
        {
            QuestionE1 questionE1 = new QuestionE1();

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