Exemple #1
0
        private void 返回ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TeaDenglu1 teadenglu = new TeaDenglu1();

            teadenglu.Show();
            this.Hide();
        }
Exemple #2
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            if (comboBox1.Text == "学生")
            {
                StuDenglu1 studenglu = new StuDenglu1();
                studenglu.Show();
                this.Hide();
            }

            if (comboBox1.Text == "老师")
            {
                TeaDenglu1 teadenglu = new TeaDenglu1();
                teadenglu.Show();
                this.Hide();
            }

            if (comboBox1.Text == "管理员")
            {
                AdminDenglu1 admindenglu = new AdminDenglu1();
                admindenglu.Show();
                this.Hide();
            }


            timer1.Stop();
        }