随笔分类 -  类操作

VB.NET 2010 如何在类Class1中调用timer事件 触发 的方法
摘要:Public Class Class1 Private WithEvents MyTimer As New Timer Private intSum As Integer Public Sub New(ByVal intInterval As Integer) MyTimer.Interval = intInterval 'intInterval设置为1000 就是间隔1秒 MyTimer.Enabled = True '启动Timer End Sub Private Sub MyTimer_Tick... 阅读全文

posted @ 2012-04-06 22:03 webzhuazi 阅读(680) 评论(0) 推荐(0)

导航