Oky Sabeni
private void Window_KeyDown(object sender, System.Windows.Input.KeyEventArgs e) { switch (e.Key) { case System.Windows.Input.Key.PageUp: MoveBackward(); break; case System.Windows.Input.Key.Next : // MessageBox.Show(currentState.ToString()); MoveForward(); break; case System.Windows.Input.Key.Escape : Application.Current.Shutdown(); break; default : break; } }