private void deleteGameBtn_Click(object sender, RoutedEventArgs e) { AccessHelper.DeleteGameInfo(gameID); gameIndex = 0; UpdateWindow(); MessageBox.Show("已删除!", "message", MessageBoxButton.OK); }