Пример #1
0
 /// <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();
     }
 }
Пример #2
0
        private void btnadd_Click(object sender, EventArgs e)
        {
            StudentLoginForm a = new StudentLoginForm();

            a.Show();
        }