Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            教师登录界面 form = new 教师登录界面();

            form.Show();
            this.Visible = false;
        }
 private void button1_Click_1(object sender, EventArgs e)
 {
     if (radioButton1.Checked)
     {
         教师登录界面 form = new 教师登录界面();
         form.Show();
         this.Hide();
     }
     else if (radioButton2.Checked)
     {
         学生登录 form = new 学生登录();
         form.Show();
         this.Hide();
     }
 }
Exemple #3
0
 private void button1_Click_1(object sender, EventArgs e)
 {
     if (radioButton1.Checked)
     {
         教师登录界面 form = new 教师登录界面();
         form.Show();
         this.Hide();
     }
     else if (radioButton2.Checked)
     {
         学生登录 form = new 学生登录();
         form.Show();
         this.Hide();
     }
 }
 private void button1_Click(object sender, EventArgs e)
 {
     教师登录界面 form = new 教师登录界面();
     form.Show();
     this.Visible = false;
 }