Exemple #1
0
        private void BtnVerifyEmail_Click(object sender, EventArgs e)
        {
            Verifcation vf   = new Verifcation();
            string      pass = vf.getPasswordfromEmail(txtEmail.Text);

            ticks1 = 60;
            if (txtEmail.Text == "")
            {
                MessageBox.Show("Please! Enter your Email Address...", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            else if (pass != "")
            {
                fromThis = true;
                email    = txtEmail.Text;
                timer3.Start();
                ticks2 = 3;
                miniLoadEmail.Visible = true;
            }
            else
            {
                fromThis = false;
                number   = "";
                lblInvalidEmail.Visible = true;
            }
        }
Exemple #2
0
 private void DummyEmail_Load(object sender, EventArgs e)
 {
     if (UserForgotPassword.fromThis)
     {
         Verifcation vf = new Verifcation();
         lblCODE.Text = vf.getPasswordfromEmail(UserForgotPassword.email);
     }
     else
     {
         Signin s = new Signin();
         lblCODE.Text = s.getCipher(UserSignin.username);
     }
 }