感觉应该是黄色的部分
但是写在按钮的代码里 不好用
请各位指点一下 非常感谢’
Grid9.RowGroups(1,1).DataBinding.DataSource = BindTables("weixindanhao.weixin") '将第二行绑定到订单表
Grid9.Width=75 '自动宽度
grid9.Cols(0).Width = 30
grid9.Cols(1).Width = 16
grid9.Cols(2).Width = 12
grid9.Cols(3).Width = 17
grid9.Cols(0).TextAlignHorz=prt.AlignHorzEnum.left
'grid9.Cols(3).style.padding.left = 5
grid9.Style.CharSpacing=0.5
Grid9.Style.TextAlignHorz=prt.AlignHorzEnum.right '文本对齐,水平
Grid9.Style.TextAlignVert=prt.AlignVertEnum.Top '文本对齐,垂直
Grid9.Style.Font=New System.Drawing.Font("Gulim",9.5,0,3,1,False) '文本字体
Grid9.Style.BackColor=Color.FromKnownColor(164) '背景颜色
Grid9.Style.TextColor=Color.FromKnownColor(35) '字体颜色
Grid9.CellStyle.Spacing.All=0.3 '单元格文本内距
Grid9.CellStyle.Padding.top=0.5
Grid9.CellStyle.Padding.bottom=0.5
Grid9.Style.Padding.Left = 5
Grid9.Style.LineSpacing=125
Grid9.RowGroups(0,tb.HeaderRows).Style.TextAlignHorz=prt.AlignHorzEnum.right '文本对齐,水平
Grid9.RowGroups(0,tb.HeaderRows).Style.TextAlignVert=prt.AlignVertEnum.Top '文本对齐,垂直
Grid9.RowGroups(0,tb.HeaderRows).Style.Font=New System.Drawing.Font("宋体",9.5,0,3,134,False) '文本字体
Grid9.RowGroups(0,tb.HeaderRows).Style.BackColor=Color.FromKnownColor(164) '背景颜色
Grid9.RowGroups(0,tb.HeaderRows).Style.TextColor=Color.FromKnownColor(35) '字体颜色
Grid9.RowGroups(0,tb.HeaderRows).CellStyle.Spacing.All=1 '单元格文本内距
Dim LineLine3 As New prt.LineDef(1,Color.FromKnownColor(35),DashStyle.Solid)
Dim Line3 As New prt.RenderLine(8,10,76,10, LineLine3) '定义一个线段对象
Dim LineLine4 As New prt.LineDef(1,Color.FromKnownColor(35),DashStyle.Solid)
Dim Line4 As New prt.RenderLine(8,40,76,40, LineLine4) '定义一个线段对象