由于边距默认情况下会影响错误图标(error icon)的定位,示例中通过CellPainting事件来处理绘制图标的位置。最后当鼠标移动到单元格时,用tooltip显示出错信息。
基于20个网页-相关网页
For example, it is a good idea to make error messages red, and to put a red error icon next to them.
例如,使出错消息为红色,并在它们旁边放置红色出错图标,这就是个好主意。
As shown in Figure 31, clicking the error icon presents a new option "Go to", which opens the relevant help.
如图31所示,单击错误图标会显示新选项“ Go to ”,它可以打开相关的帮助。
The red X error icon is decorated with a question mark to show that help is available for a particular error.
带问号的红色 X 错误图标表示这个错误有相关的帮助。
应用推荐