Exemple #1
0
 private void Location_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.Key.Equals(Key.Enter))
     {
         Radius.Focus();
     }
 }
Exemple #2
0
 private void Title_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.Key.Equals(Key.Enter))
     {
         if (Location.Visibility == System.Windows.Visibility.Collapsed)
         {
             Radius.Focus();
         }
         else
         {
             Location.Focus();
         }
     }
 }