//DESCRIPTION: re-directs to password reset page private void linklblPass_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { var resetPassword = new Recovery("password"); resetPassword.FormClosed += new FormClosedEventHandler(recovery_FormClosed); this.Hide(); resetPassword.Show(); }
//DESCRIPTION: re-directs to username recovery page private void linklblUsername_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { var recoverUsername = new Recovery("username"); recoverUsername.FormClosed += new FormClosedEventHandler(recovery_FormClosed); this.Hide(); recoverUsername.Show(); }