'''
If e.Col.Name = "进度" AndAlso e.Row.IsNull("进度") = False Then
e.StartDraw()
Dim Width As Integer = (e.Width - 2 )* e.Row("进度") \ 100
If e.Row("进度") = 100% Then
e.Graphics.FillRectangle(Brushes.Green,e.x + 1,e.y + 1, Width, e.Height - 2)
ElseIf 90% < e.Row("进度") < 100% Then
e.Graphics.FillRectangle(Brushes.Red,e.x + 1,e.y + 1, Width, e.Height - 2)
Else
e.Graphics.FillRectangle(Brushes.blue,e.x + 1,e.y + 1, Width, e.Height - 2)
End If
e.EndDraw()
End If
此主题相关图片如下:截屏图片.jpg
![dvubb 图片点击可在新窗口打开查看](UploadFile/2019-5/201952522223994080.jpg)