/// <summary> /// 注册新用户 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void llblRegist_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { if (rdoAdmin.Checked) { AdminLoginForm admin = new AdminLoginForm(); admin.Show(); } else { StudentLoginForm stu = new StudentLoginForm(); stu.Show(); } }
private void btnadd_Click(object sender, EventArgs e) { StudentLoginForm a = new StudentLoginForm(); a.Show(); }