close
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim myfile As Integer = My.Computer.FileSystem.ReadAllText("c:\vb\940302.SM")
Dim i, j As Integer
For i = 1 To myfile
For j = 1 To i
TextBox2.Text = TextBox2.Text & j
Next
TextBox2.Text = TextBox2.Text & vbCrLf
Next
End Sub
全站熱搜
留言列表