Ejemplo n.º 1
0
        private void BtnVerifyNumber_Click(object sender, EventArgs e)
        {
            Verifcation vf   = new Verifcation();
            string      pass = vf.getPassword(txtMobileNumber.Text);

            ticks1 = 60;
            if (txtMobileNumber.Text == "")
            {
                MessageBox.Show("Please! Enter your Mobile Number...", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            else if (pass != "")
            {
                fromThis = true;
                number   = txtMobileNumber.Text;
                timer2.Start();
                ticks2 = 3;
                miniLoadMsg.Visible = true;
            }
            else
            {
                fromThis = false;
                number   = "";
                lblInvalidNumber.Visible = true;
            }
        }
Ejemplo n.º 2
0
 private void DummyMobileMessage_Load(object sender, EventArgs e)
 {
     if (UserForgotPassword.fromThis)
     {
         Verifcation vf = new Verifcation();
         lblCODE.Text = vf.getPassword(UserForgotPassword.number);
     }
     else
     {
         Signin s = new Signin();
         lblCODE.Text = s.getCipher(UserSignin.username);
         //SecurityCode.cipher = lblCODE.Text;
     }
 }