- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
timer(定时器)
timer(定时器)
The Timer component is also a WinForm component, and the biggest difference from the other WinForm components is that the Timer component is invisible, and most other components are visible and can be designed. The Timer component is also encapsulated in namespace System.Windows.Forms, whose primary function is to trigger the same event every other fixed period of time when the Timer component is started. Timer components are a commonly used component in programming. Although attributes and events are few, they can produce unexpected effects in some places.
The program introduced in this paper is a program that uses Visual C as a form to float, which uses a large number of Timer components. Here to introduce the design and operation of this program environment.
I. software environment for program design and operation:
(1) Microsoft Corp Windows 2000 Server Edition
(2)..Net, FrameWork, SDK, Beta, 2
Two. Programming ideas and solutions to key steps:
In fact, to make the form of the program to float up, in fact, the idea is relatively simple. First, when you load the form, set an initial position of the display for the form. Then through the two Timer component definition in the form, one is called Timer1, its role is to control the form from left to right. (of course, if you like, you can also change from the top down flowing, or other flowing way.) The other Timer2 is the control form, which moves from right to left (you can also change it to other flapping methods). Of course, the two Timer components can not start at the same time, the program is the first set of Timer1 components, the start, when the Timer1 starts, every 0.01 seconds will trigger events to horizontal coordinates of the upper left corner of the window to add 1, then we see the form moving from left to right, when moved to a certain position, stop Timer1. Timer2 startup, every 0.01 seconds, in the event of triggering the definition, to the form of the upper left corner of the abscissa is
您可能关注的文档
- 对我国高等教育体制改革发展的动力分析(An analysis of the motive force of the reform and development of higher education system in China).doc
- 对数公式(Logarithmic formula).doc
- 教育理论问答题(Educational theory question and answer question).doc
- 对比性广告构成虚假宣传和商业诋毁(Contrast advertising constitutes false propaganda and commercial defamation).doc
- 对流浪乞讨问题的宪法学分析一(A constitutional analysis of the problem of vagrancy and begging).doc
- 对联入门之创作三十六忌(Thirty-six entries in the introduction of couplets).doc
- 对电气测量中的术语解释(Explanation of terminology in electrical measurement).doc
- 对目前我国家教市场现存问题的思考(Reflections on the existing problems in China's family education market).doc
- 对联基本格律的六要素和六禁忌(The six elements and six taboos of the basic metrical pattern of couplets).doc
- 对苏联亡党亡国的几点思考(Some of the Soviet Union of the party and the nation on death).doc
- ug和proe比较(Comparison of UG and proe).doc
- ug学者入门必读(UG scholars must read).doc
- ug高级使用技巧(UG advanced use skills).doc
- ug工程图转换dxf或者dwg格式的一种可靠方法(A reliable method for converting UG drawings to DXF or DWG formats).doc
- ups的并购战给中国物流企业的启示(The Enlightenment of UPS merger and acquisition to Chinese logistics enterprises).doc
- ug基础必备技巧40条(UG basic skills necessary 40).doc
- timer2(timer2).doc
- uvlayout 快捷键(快捷键UVLayout).doc
- usb驱动讲解(USB driver explain).doc
- upvc双壁波纹管安装工艺(Installation process of UPVC double wall corrugated pipe).doc
最近下载
- 初一新生入学数学摸底测试题.doc VIP
- 2024年国家公务员考试公文基础知识试题库及答案(共291题).pdf VIP
- 儿童全麻下口腔治疗护理.pptx VIP
- 苏G9401 120预应力混凝土空心板图集(冷扎带肋钢筋).docx VIP
- (2024秋新改)人教版七年级数学上册全册教案.doc
- 1.2探索智慧温室大棚 教学设计-2025-2026学年八年级上《信息科技》(教科版).docx VIP
- 2025上半年中级软件水平考试《嵌入式系统设计师(综合知识)》真题卷(附详细解析).pdf VIP
- 14449小学课程与教学设计-电子教辅.pdf VIP
- 日产-贵士-产品使用说明书-贵士 2014款-VLJALPZE52EX7DE5-GUEST用户手册.pdf VIP
- 皮肤科简介PPT课件.ppt VIP
文档评论(0)