做了一個vb的dll,dll中加了表單和timer,但是timer不能作業,什么原因呢?
form1 中的timer
Public Sub Timer1_Timer()
MsgBox "test"
End Sub
類模塊中的:
Function fun1()
Form1.Timer1.Enabled = True
End Function
呼叫程式:
Private Sub Command1_Click()
Set a = New test7.Class1
a.fun1
End Sub
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/134075.html
