Пример #1
0
 private void EntryPasscode3_Completed(object sender, System.EventArgs e)
 {
     if (string.IsNullOrEmpty(EntryPasscode3.Text.ToString()))
     {
         EntryPasscode2.Focus();
         //EntryPasscode3.TextChanged += (s, f) => EntryPasscode2.Focus();
     }
     else
     {
         EntryPasscode4.Focus();
         //EntryPasscode3.TextChanged += (s, f) => EntryPasscode4.Focus();
     }
 }
Пример #2
0
 private void EntryPasscode4_Completed(object sender, System.EventArgs e)
 {
     if (string.IsNullOrEmpty(EntryPasscode4.Text.ToString()))
     {
         EntryPasscode3.Focus();
         //EntryPasscode4.TextChanged += (s, f) => EntryPasscode3.Focus();
     }
     else
     {
         EntryPasscode4.Focus();
         //DependencyService.Get<IKeyboardHelper>().HideKeyboard();
         //loginBtn.Focus();
         //EntryPasscode4.Unfocus();
         //EntryPasscode4.TextChanged += (s, f) => EntryPasscode4.Focus();
     }
 }