arg_graphics.FillRectangles(arrBrush[i], arrLines[i].ToArray());
在调用Graphics函数 FillRectangles 时, 不定期会有异常 : parameter is not valid @checkErrorStatus
最后发现原因是有时候 arrRCs[i].Count = 0
也就是说 FillRectangles 的 Rectangles[] 不能为0
真是受不了
arg_graphics.FillRectangles(arrBrush[i], arrLines[i].ToArray());
在调用Graphics函数 FillRectangles 时, 不定期会有异常 : parameter is not valid @checkErrorStatus
最后发现原因是有时候 arrRCs[i].Count = 0
也就是说 FillRectangles 的 Rectangles[] 不能为0
真是受不了
转载于:https://www.cnblogs.com/norsd/archive/2012/10/21/6359450.html