checkErrorStatus parameter is not valid

     arg_graphics.FillRectangles(arrBrush[i], arrRCs[i].ToArray());                  

      arg_graphics.FillRectangles(arrBrush[i], arrLines[i].ToArray());


在调用Graphics函数 FillRectangles 时, 不定期会有异常 : parameter is not valid   @checkErrorStatus 

最后发现原因是有时候 arrRCs[i].Count = 0


也就是说 FillRectangles 的 Rectangles[] 不能为0


真是受不了

posted on 2012-10-21 22:37  norsd  阅读(429)  评论(0)    收藏  举报

导航