private void btnNext_Click(object sender, EventArgs e)
        {
            Recovery recovery = new Recovery();

            Recovery.Recipient = txtRecipient.Text;
            recovery.SendCode();

            recoveryCode1.Visible = true;
            recoveryCode1.Show();
        }
Ejemplo n.º 2
0
        public bool SavePassword()
        {
            bool IsValid = false;

            if (txtNewPassword.Text.Equals(txtConfirmPassword.Text))
            {
                Recovery recover = new Recovery();
                recover.SaveNewPassword(txtNewPassword.Text);
                IsValid = true;
            }

            return(IsValid);
        }