[求助]计数器
我想做一个TEXTBOX,让它显示数字,每次新建都让它显示的数字自动+1。请各位高手点拨一下思路,怎样每次查询最大的那个值,好让它+1呢?
我是菜鸟级,请老鸟附上代码,不胜感激!!
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
TextBox2.Text += 1
TextBox2.Show()
End Sub
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
TextBox2.Text = "1"
End Sub