コード例 #1
0
 private void PinFour_TextChanged(object sender, TextChangedEventArgs e)
 {
     if (PinFour.Text.Length > 0)
     {
         PinFour.Focus();
     }
     else
     {
         PinThree.Focus();
     }
 }
コード例 #2
0
 private void PinTwo_TextChanged(object sender, TextChangedEventArgs e)
 {
     if (PinTwo.Text.Length > 0)
     {
         pin += PinTwo.Text;
         PinThree.Focus();
     }
     else
     {
         PinOne.Focus();
     }
 }
コード例 #3
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();
     }
 }