Exemplo n.º 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;
            }
        }
Exemplo n.º 2
0
        private void 中级SToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SecondaryExamForm sef = new SecondaryExamForm();

            sef.Show();
        }