代理版本调试
This commit is contained in:
1 parent
0b325e7cd8
commit
8ff2508632
36 files changed
+1049
-342
No files matched your search
@@ -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); // 自定义大小和位置
|
||||
|
||||
Reference in new issue
Block a user