private void Login_Load(object sender, EventArgs e) { notifyIcon.ShowBalloonTip(500, "欢迎使用EasyLife", "如果您在使用过程中遇到任何问题,可以单击右上角的帮助按钮哦!", ToolTipIcon.Info); securitycode.UpdateVerifyCode(); SecCodePic.Image = securitycode.getImage(); ForgetPassword.Left = (this.Width - ForgetPassword.Width) / 2; //还原位置 ForgetPassword.Visible = false; FindPwd.Left = (this.Width - ForgetPassword.Width) / 2; //还原位置 FindPwd.Visible = false; ForgetPassword.findpassword = FindPwd; }
private void RegisterForm_Load(object sender, EventArgs e) { this.DesktopLocation = login.DesktopLocation; securitycode.UpdateVerifyCode(); SecCodePic.Image = securitycode.getImage(); }