Exemplo n.º 1
0
 private void PinFour_TextChanged(object sender, TextChangedEventArgs e)
 {
     if (PinFour.Text.Length > 0)
     {
         PinFour.Focus();
     }
     else
     {
         PinThree.Focus();
     }
 }
Exemplo n.º 2
0
 private void PinFour_TextChanged(object sender, TextChangedEventArgs e)
 {
     if (PinFour.Text.Length > 0 && !string.IsNullOrEmpty(PinThree.Text) && !string.IsNullOrEmpty(PinTwo.Text) && !string.IsNullOrEmpty(PinOne.Text))
     {
         pin += PinFour.Text;
         _loginPageViewModel.PinLogin(pin);
         PinFour.Focus();
     }
     else
     {
         PinThree.Focus();
     }
 }