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