예제 #1
0
 private void Window_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Escape || e.Key == Key.Q)
     {
         currentView.Destroy();
         this.Close();
     }
 }