🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.visual-basic
Article #360

Re: ����vb���� //bow~~~~~~~~~~~

#360
From: ����
Date: Mon, 04 Dec 2006 10:10
37 lines
1769 bytes
ǰ���д��ָ����timer

����ʵ����С���޶� Ū��Ūȥֻ��ʵ�� ���һ��ʱ�� ����ͬһ���ӳ���

�������λ��æ ���ʵ���������������Ĺ��� ������System.Threading.Thread.Sleep

��Ϊsleep���м����Ҫ��Ϊ�ж�

��л��л~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

������



       Do While gBreakRun = True
            Call myStartMeasurement()

            System.Threading.Thread.Sleep(IntervalTime.Text * 1000)  
            Call myStopMeasurement()
        Loop
���һ��ʱ����������ӳ��� 





�� �� leoyu (����) �Ĵ������ᵽ: ��
: һ��רҵ�������Ҫ��vb��һ����automation
: ����vbһ��Ҳ����
: ������ʵ����ôһ������
: ...................



--

�� ��Դ:��ˮľ���� http://newsmth.net��[FROM: 219.163.171.*]
Technical Details
Message-ID: <4ROCgh$2G8@newsmth.net>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!newsfeed.gamma.ru!Gamma.RU!newsfeed.simtel.ru!Simtel.RU!news.newsmth.net!NEWSMTH

Show Full Headers
Complete Article Headers
X-Google-Thread: 109fdd,ce9d83403dcc98c0,start
X-Google-Attributes: gid109fdd,public
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!newsfeed.gamma.ru!Gamma.RU!newsfeed.simtel.ru!Simtel.RU!news.newsmth.net!NEWSMTH
From: leoyu@newsmth.net-SPAM.no (����)
Newsgroups: cn.bbs.comp.lang.visual-basic
Subject: Re: ����vb���� //bow~~~~~~~~~~~
Date: 04 Dec 2006 10:10:19 GMT
Organization: ˮľ����
Message-ID: <4ROCgh$2G8@newsmth.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: VisualBasic/F/M.1165227019.P0