コード例 #1
0
ファイル: QuestionC2.cs プロジェクト: hszc/unity3d_test
        private void btnBefore_Click(object sender, EventArgs e)
        {
            var questionC1 = new QuestionC1();

            questionC1.TopMost = false;
            questionC1.ShowDialog();
            this.Close();
        }
コード例 #2
0
ファイル: QuestionA2.cs プロジェクト: hszc/unity3d_test
        private void btnNext_Click(object sender, EventArgs e)
        {
            string questionResultA10 = this.radCheckA10A.Checked ? "A" : radCheckA10B.Checked?"B":"";
            M_QuestionnaireResultDetail questionA10 = new M_QuestionnaireResultDetail();

            questionA10.QuestionCode   = Public.QuestionnaireCode.ZaoAiRuXianAi + ".A10";
            questionA10.QuestionType   = 1;  //单选
            questionA10.QuestionResult = questionResultA10;
            ClientInfo.AddQuestionToQuestionnaire(questionA10, QuestionnaireCode.ZaoAiRuXianAi);

            string questionResult = this.radCheckB014A.Checked ? "A" : radCheckB014B.Checked ? "B" : radCheckB014C.Checked?"C":"";
            M_QuestionnaireResultDetail question = new M_QuestionnaireResultDetail();

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

            QuestionC1 questionC1 = new QuestionC1();

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