Пример #1
0
 private void EditWindow_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Enter)
     {
         Submit.RaiseEvent(new RoutedEventArgs(Button.ClickEvent));
     }
 }