0
A
回答
0
TextBox1.Text = 80
If IsNumeric(TextBox1.Text) Then
Dim color As Integer = 1
Dim top As Integer = 10
Dim LineNum As Integer = Integer.Parse(TextBox1.Text)
For i = 0 To LineNum
Dim line As New Panel
line.Width = 300
line.Height = 40
If color = 1 Then
color = 0
line.BackColor = Drawing.Color.Black
Else
color = 1
line.BackColor = Drawing.Color.White
End If
top = top + 40
line.Top = top
Me.Controls.Add(line)
Next
End If
;)
+0
它的作品!像往常一样谢谢你! – BlackOpty
0
斑马的datagridview的VB.NET
DataGridView1.GridColor = Color.Blue
DataGridView1.DefaultCellStyle.ForeColor = Color.Black
DataGridView1.RowsDefaultCellStyle.BackColor = Color.Red
DataGridView1.AlternatingRowsDefaultCellStyle.BackColor = Color.Yellow
DataGridView1.GridColor = Color.Silver
相关问题
- 1. Vb.net绘制水平斑马线
- 2. 斑马线CaptureActivity.handleDecode()
- 3. 斑马线truncading
- 4. 斑马线扫描
- 5. 斑马线错误
- 6. 使用斑马线
- 7. 斑马线QRCode的
- 8. 斑马线扫描
- 9. j斑马与斑马TLP2844
- 10. QR码斑马线的Java
- 11. 获取android.content.ActivityNotFoundException与斑马线
- 12. 错误与斑马线
- 13. 从斑马线编码
- 14. 斑马线的QR码
- 15. 的Android斑马线库
- 16. 斑马线 - 2.1 - 缺少库
- 17. 斑马线问题,当
- 18. 斑马线整合问题
- 19. 从Android的斑马线IntentIntegrator
- 20. 斑马线图书馆钛
- 21. 条码Rearder斑马线
- 22. 关于斑马线的Android
- 23. 斑马线onActivityResults不点火
- 24. 斑马线上新的活动
- 25. 倒计时斑马线条形码库
- 26. 斑马线集成一套scan_mode
- 27. Android - 条码扫描,选项?斑马线?
- 28. 斑马线的androidtest项目不工作
- 29. 集成斑马线和按需扫描
- 30. 条码生成与斑马线
这是一个WinForm项目?文本如何显示?在一个控件中,还是仅仅绘制到表单的表面? –
我们不能回答你的问题,因为你没有告诉我们你在做什么。你在说什么?一个winForms控件的某种类型的报告gridview,ASP.NET或WinForms或WPF或其他?你试过什么了? –
是的,WinForm我想要斑马线在项目的背景 – BlackOpty