Пример #1
0
 private void OnKeyDownHandler(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Enter)
     {
         Passwords.Focus();
     }
 }
Пример #2
0
 public LoginPage()
 {
     InitializeComponent();
     DT           = (MainView)DataContext;
     DT.LoginM.Id = Mill.GetXaml();
     if (DT.LoginM.Id == "")
     {
         Username.Focus();
     }
     else
     {
         Passwords.Focus();
     }
 }