[.NET] 多行顯示
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Static i As Integer
        Dim NStart As Integer
        Dim NEnd As Integer
        Dim MyValue As Integer
        For i = 1 To 10
            NStart = Val(TextBox1.Text)
            NEnd = Val(TextBox2.Text)
            Randomize()
            MyValue = (NEnd - NStart) * Rnd() + NStart
            TextBox3.Text = Str(MyValue)
        Next i
    End Sub
http://www.tomsun.org/displayimage.php?album=11758&pos=0
這個圖是我作的form
請問一下怎麼在TextBox3一次產生十個亂數,然後每個亂數都是在不同列
類似
   Generator  1
              5
              8
              7
              10
              2
              .
              .
              .
              6
--
          http://www.wretch.twbbs.org/album/sendon
    指天罵地不是指責老天不公平,只是大聲吶喊出心中的豪氣、
    功成名就不是慶幸運氣的及時,只是倍於常人的努力所換取、
    冷酷重情不是冷血無情的對待,只是區分用心與無心的價值。
--
※ 發信站: 批踢踢實業坊(ptt.cc) 
◆ From: 140.115.152.93
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
Visual_Basic 近期熱門文章
PTT數位生活區 即時熱門文章
                            22
                        
                            45