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