Exemple #1
0
 static void fe_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Enter)
     {
         keyboardHelper.HandleReturnKey();
     }
 }
Exemple #2
0
 void AssociatedObject_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Enter)
     {
         keyboardHelper.HandleReturnKey();
     }
 }