由于边距默认情况下会影响错误图标(error icon)的定位,示例中通过CellPainting事件来处理绘制图标的位置。最后当鼠标移动到单元格时,用tooltip显示出错信息。
基于20个网页-相关网页
Controls whether the error icon blinks an error is set.
控制当确定错误后错误图标是否闪烁。
When the error icon is displayed, point at it with the mouse pointer to see the error text.
当显示错误图标时,用鼠标指针指向它以查看错误文本。
For example, it is a good idea to make error messages red, and to put a red error icon next to them.
例如,使出错消息为红色,并在它们旁边放置红色出错图标,这就是个好主意。
应用推荐