Public Class Form1
Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Call Sleep(3000)
MsgBox("waiting 3 sec test")
End Sub
End Class
沒有留言:
張貼留言