private void button2_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(); } }