private void MainWindow_OnKeyUp(object sender, KeyEventArgs e) //Allow user to refresh the book list with F5 { switch (e.Key) { case Key.F5: BookGridReload(); //Reload grid break; case Key.F12: //Clear the info stack InfoQueue.Clear(); Info(UiLang.Get("InfoQueueDeleted")); break; } }