private void btnNext_Click(object sender, EventArgs e) { string questionResultA = this.radCheckB19A.Checked ? "A" : radCheckB19B.Checked ? "B" :radCheckB19C.Checked?"C":""; M_QuestionnaireResultDetail questionA = new M_QuestionnaireResultDetail(); questionA.QuestionCode = Public.QuestionnaireCode.ZaoAiWeiAi + ".B01.9"; questionA.QuestionType = 1; //单选 questionA.QuestionResult = questionResultA; ClientInfo.AddQuestionToQuestionnaire(questionA, QuestionnaireCode.ZaoAiWeiAi); string questionResultB = this.radCheckB110A.Checked ? "A" : radCheckB110B.Checked ? "B" :radCheckB110C.Checked?"C":""; M_QuestionnaireResultDetail questionB = new M_QuestionnaireResultDetail(); questionB.QuestionCode = Public.QuestionnaireCode.ZaoAiWeiAi + ".B01.10"; questionB.QuestionType = 1; //单选 questionB.QuestionResult = questionResultB; ClientInfo.AddQuestionToQuestionnaire(questionB, QuestionnaireCode.ZaoAiWeiAi); QuestionC1 questionC1 = new QuestionC1(); questionC1.TopMost = false; questionC1.ShowDialog(); this.Close(); }
private void btnBefore_Click(object sender, EventArgs e) { var questionC1 = new QuestionC1(); questionC1.TopMost = false; questionC1.ShowDialog(); this.Close(); }