/// <summary>
 /// 删除游戏按钮事件
 /// </summary>
 private void DeleteGameBtn_Click(object sender, RoutedEventArgs e)
 {
     if (HandyControl.Controls.MessageBox.Show(Application.Current.Resources["MainWindow_Drawer_DeleteGameConfirmBox"].ToString(), Application.Current.Resources["MessageBox_Ask"].ToString(), MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes)
     {
         GameLibraryHelper.DeleteGameByID(gameInfoList[gid].GameID);
         var b = GameLibraryPanel.FindName($"game{gid}") as Border;
         GameLibraryPanel.Children.Remove(b);
         GameInfoDrawer.IsOpen = false;
     }
 }
 /// <summary>
 /// 删除游戏按钮事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void DeleteGameBtn_Click(object sender, RoutedEventArgs e)
 {
     if (HandyControl.Controls.MessageBox.Show("您是否确认要将此游戏从您的游戏库中移除?\r\n这个操作不会删除您的游戏文件,但下次进行这个游戏时需要重新设置相关参数。", "确认删除", MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes)
     {
         GameLibraryHelper.DeleteGameByID(gameInfolst[gid].GameID);
         Border b = GameLibraryPanel.FindName("game" + gid) as Border;
         GameLibraryPanel.Children.Remove(b);
         GameInfoDrawer.IsOpen = false;
     }
 }