예제 #1
0
 private void MainWindow_OnKeyDown(object sender, KeyEventArgs e)
 {
     _viewModel.KeyDown(e.Key);
 }
예제 #2
0
 private void Page_KeyDown(object sender, KeyRoutedEventArgs e)
 {
     _viewModel.KeyDown(e.Key);
 }
예제 #3
0
 private void OnKeyDown(object sender, KeyEventArgs e)
 {
     _invadersViewModel.KeyDown(e.Key);
 }
 private void KeyDownHandler(object sender, KeyEventArgs e)
 {
     viewModel.KeyDown(e.Key);
 }
 private void Window_KeyDown(object sender, KeyEventArgs e)
 {
     viewModel.KeyDown(e);
 }