private void btnNext_Click(object sender, EventArgs e) { string strResult = ""; if (rdYes.Checked) { strResult = "A"; } if (rdNo.Checked) { strResult = "B"; } M_QuestionnaireResultDetail question = new M_QuestionnaireResultDetail(); question.QuestionCode = Public.QuestionnaireCode.KangFuZuHuai + ".3"; question.QuestionType = 1;//单选 question.QuestionResult = strResult; //打分 if (strResult.Contains("A")) { question.QuestionScore = 5; } ClientInfo.AddQuestionToQuestionnaire(question, QuestionnaireCode.KangFuZuHuai); QuestionFour frmNext = new QuestionFour(); frmNext.TopMost = false; frmNext.ShowDialog(); this.Close(); }
private void btnBefore_Click(object sender, EventArgs e) { QuestionFour frmBefore = new QuestionFour(); frmBefore.TopMost = false; frmBefore.ShowDialog(); this.Close(); }