Beispiel #1
0
        string selectPaper = "";//试卷类型

        private void 开始考试ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (selectPaper == "")
            {
                MessageBox.Show("请选择试卷!");
            }
            else
            {
                frmStartExam fse = new frmStartExam(selectPaper, User);
                fse.ShowDialog();
            }
        }
 private void 开始考试ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (selectPaper == "")
     {
         MessageBox.Show("请选择试卷!");
     }
     else
     {
         frmStartExam fse = new frmStartExam(selectPaper,User);
         fse.ShowDialog();
     }
 }