Beispiel #1
0
        private void toolStripComboBox1_TextChanged(object sender, EventArgs e)
        {
            String sltItem = this.toolStripComboBox1.Text;

            switch (sltItem)
            {
            case ("初级试题"):
                PrimaryExamForm pef = new PrimaryExamForm();
                pef.ShowDialog();
                break;

            case ("中级试题"):
                SecondaryExamForm sef = new SecondaryExamForm();
                sef.Show();
                break;

            case ("高级试题"):
                AdvancedExamForm adf = new AdvancedExamForm();
                adf.Show();
                break;
            }
        }
Beispiel #2
0
        private void 高级AToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AdvancedExamForm aef = new AdvancedExamForm();

            aef.Show();
        }