Exemplo n.º 1
0
 // Verify OTP Button
 private void btnVerifyOTP_Click(object sender, EventArgs e)
 {
     if (OTPCode == (txtBoxVerifyOTP.Text).ToString())
     {
         //to = txtBoxEmail.Text;
         newPassword.Show();
         txtBoxNewPassword.Show();
         confirmPassword.Show();
         txtBoxConfirmPassword.Show();
         LLPasswordShow.Show();
         LLCPasswordShow.Show();
     }
     else
     {
         MessageBox.Show("Incorrect OTP", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }