作者Elearnet (威)
站内Visual_Basic
标题[.NET] timer即时运算
时间Wed May 10 01:52:20 2006
小弟试了整晚了= =
就是搞不出来
问题如下
我想在Label里面 显示倒数的秒数
每秒更新
然後
每6秒依序撷取 阵列里的内容
每个内容 间格1秒...
依序显示.....
Private Sub txtshow_keypress(ByVal sender As System.Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles txtshow.KeyPress
If e.KeyChar = Chr(13) Then
Timerpra.Enabled = True
i = -1
i = i + 1
Timerpra_timer()
End If
End Sub
Private Sub Timerpra_timer()
a = a - 1
second.Text = a
For i = 0 To 2
txtshow.Text = praArray(i)
Next i
End Sub
完全搞不出来 我是新手阿 囧
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.217.234.241
※ 编辑: Elearnet 来自: 61.217.234.241 (05/10 01:53)