private void tsbAdd_Click(object sender, EventArgs e)
 {
     switch (tabConQustion.SelectedTab.Text)
     {
         case "单选题":
             frmSingleSelectAdd fssa = new frmSingleSelectAdd();
             fssa.ShowDialog();
             dataGridView1.DataSource = QuestionBll.QuestionFillDs().Tables[0];
             break;
         case "多选题":
             frmMultiSelectAdd fmsa = new frmMultiSelectAdd();
             fmsa.ShowDialog();
             dataGridView2.DataSource = QuestionBll.QuestionFillDs().Tables[1];
             break;
         case "判断题":
             frmJudgeAdd fja = new frmJudgeAdd();
             fja.ShowDialog();
             dataGridView3.DataSource = QuestionBll.QuestionFillDs().Tables[2];
             break;
         case "填空题":
             frmFillBlankAdd ffba = new frmFillBlankAdd();
             ffba.ShowDialog();
             dataGridView4.DataSource = QuestionBll.QuestionFillDs().Tables[3];
             break;
         case "问答题":
             frmQuestionAdd fqa = new frmQuestionAdd();
             fqa.ShowDialog();
             dataGridView5.DataSource = QuestionBll.QuestionFillDs().Tables[4];
             break;
         default:
             break;
     }
 }
        private void tsbAdd_Click(object sender, EventArgs e)
        {
            switch (tabConQustion.SelectedTab.Text)
            {
            case "单选题":
                frmSingleSelectAdd fssa = new frmSingleSelectAdd();
                fssa.ShowDialog();
                dataGridView1.DataSource = QuestionBll.QuestionFillDs().Tables[0];
                break;

            case "多选题":
                frmMultiSelectAdd fmsa = new frmMultiSelectAdd();
                fmsa.ShowDialog();
                dataGridView2.DataSource = QuestionBll.QuestionFillDs().Tables[1];
                break;

            case "判断题":
                frmJudgeAdd fja = new frmJudgeAdd();
                fja.ShowDialog();
                dataGridView3.DataSource = QuestionBll.QuestionFillDs().Tables[2];
                break;

            case "填空题":
                frmFillBlankAdd ffba = new frmFillBlankAdd();
                ffba.ShowDialog();
                dataGridView4.DataSource = QuestionBll.QuestionFillDs().Tables[3];
                break;

            case "问答题":
                frmQuestionAdd fqa = new frmQuestionAdd();
                fqa.ShowDialog();
                dataGridView5.DataSource = QuestionBll.QuestionFillDs().Tables[4];
                break;

            default:
                break;
            }
        }