Exemple #1
0
        private void btnBefore_Click(object sender, EventArgs e)
        {
            var questionE1 = new QuestionE1();

            questionE1.TopMost = false;
            questionE1.ShowDialog();
            this.Close();
        }
Exemple #2
0
        private void btnNext_Click(object sender, EventArgs e)
        {
            string questionResultD01 = this.radCheckD01A.Checked?"A":radCheckD01B.Checked?"B":"";
            M_QuestionnaireResultDetail questionD01 = new M_QuestionnaireResultDetail();

            questionD01.QuestionCode   = Public.QuestionnaireCode.ZaoAiWeiAi + ".D01";
            questionD01.QuestionType   = 1;   //单选
            questionD01.QuestionResult = questionResultD01;
            ClientInfo.AddQuestionToQuestionnaire(questionD01, QuestionnaireCode.ZaoAiWeiAi);

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

            questionD02.QuestionCode   = Public.QuestionnaireCode.ZaoAiWeiAi + ".D02";
            questionD02.QuestionType   = 1;   //单选
            questionD02.QuestionResult = questionResultD02;
            ClientInfo.AddQuestionToQuestionnaire(questionD02, QuestionnaireCode.ZaoAiWeiAi);

            QuestionE1 questionE1 = new QuestionE1();

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