.NET Framework 版本:4.0.30319.42000
Foxtable 版本:2021.11.22.11
错误所在事件:表,活动家具库,DrawCell
详细错误信息:
调用的目标发生了异常。
值不能为 null。
参数名: image
代码如下
If e.Col.name= "小图" Then
e.StartDraw
If e.Row.IsNull("小图") = False Then
Dim ls = e.Row.DataRow.Lines("小图")
output.show(ls(0))
e.Graphics.DrawImage(getimage(ProjectPath &"DATA\商品图片\家具产品\"& ls(0)), e.x + 5,e.y + 5, 100, 100) '绘制第一个图标
End If
e.text = ""
e.EndDraw
End If