今天做了 小時鐘

需要 1個 Label 1個 Timer

程式碼 如下
Public Class Form1

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Label1.Text = Now '在Timer1上點滑鼠左鍵兩下進入此程式區塊
End Sub
End Class

完成後 如下圖

arrow
arrow
    全站熱搜

    ip612256374 發表在 痞客邦 留言(0) 人氣()