| changeset 35 | 43bb1b8ed555 |
| parent 13 | b5ee436add3d |
--- a/client/src/Iri.Modernisation.Controls/View/Main/Main.xaml.cs Tue Jan 19 09:49:56 2010 +0100 +++ b/client/src/Iri.Modernisation.Controls/View/Main/Main.xaml.cs Mon Jan 25 09:30:22 2010 +0100 @@ -26,5 +26,13 @@ Commands.VideoViewer.Pause.Execute(); FlipTest.ExecuteFlip(); } + + private void UserControl_KeyDown(object sender, System.Windows.Input.KeyEventArgs e) + { + if(e.Key == Key.Escape) + { + Commands.EscapeKeyPressed.Execute(); + } + } } }