For Each t As Table In Tables t.font = new font("宋体", 15)
Dim cs1 As C1.Win.C1FlexGrid.CellStyle = t.Grid.Styles.Add("样式1") cs1.forecolor = Color.red cs1.backcolor = Color.yellow cs1.font = new font("宋体", 15) For i As Integer = 0 To t.HeaderRows-1 For j As Integer = 1 To t.cols.count t.Grid.SetCellStyle(i, j, cs1) Next Next Next