代理版本调试

This commit is contained in:
wule_5900x committed 2026-07-05 22:53:54 +08:00
1 parent 0b325e7cd8
commit 8ff2508632
36 files changed
+1049 -342

No files matched your search

+1 -1
View File
@@ -222,7 +222,7 @@ namespace TemuKJD.UserComponent
{
e.PaintBackground(e.CellBounds, true);
bool isChecked = cellTmp.Value.ParseToBool();
bool isChecked = cellTmp?.Value == null ? false : cellTmp.Value.ParseToBool();
var locationX = e.CellBounds.Location.X + e.CellBounds.Width / 2 - checkBoxSize / 2 - 1;
var locationY = e.CellBounds.Location.Y + e.CellBounds.Height / 2 - checkBoxSize / 2;
Rectangle checkBoxBounds = new Rectangle(locationX, locationY, checkBoxSize, checkBoxSize); // 自定义大小和位置