/// <summary> /// 注册用户事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void labRegister_Click(object sender, EventArgs e) { frmRegistered frmReg = new frmRegistered(); frmReg.Owner = this; this.Hide(); frmReg.ShowDialog(); }