【发布时间】:2014-01-28 17:45:27
【问题描述】:
我正在尝试格式化列表框输出以符合我的格式化程序。它只是列出了它们。有什么想法吗?
Private Sub Formatter_Click(sender As Object, e As EventArgs) Handles Formatter.Click
Dim formatter As String = CStr("{0,-7} {1,6:C2} {3,5}")
Dim name As String
name = (First.Text) + (Second.Text)
Dim x, y As Integer
x = ((InputBox("Enter a Number")))
y = (InputBox("Enter another Number"))
With Values.Items
.Add(x)
.Add(y)
.Add(name)
End With
【问题讨论】:
标签: asp.net .net vb.net listbox