public void OnUpdateFrame(FrameEventArgs e) { if (d_MainWindow.Keyboard[Key.Escape]) { d_MainWindow.Exit(); } }