培训
模块
Get Started with Dates, Times, and Time Zones - Training
Learn how to handle date and time effectively in C# applications.
Windows 窗体 Timer 组件具有一个 Interval 属性,该属性指定在一个计时器事件和下一个计时器事件之间传递的毫秒数。 除非禁用组件,否则计时器将继续以大致相等的时间间隔接收 Tick 事件。
此组件专为 Windows 窗体环境设计。 如果需要适合服务器环境的计时器,请参阅 Server-Based 计时器简介。
培训
模块
Get Started with Dates, Times, and Time Zones - Training
Learn how to handle date and time effectively in C# applications.
文档
使用计时器组件以固定间隔执行程序 - Windows Forms .NET Framework
了解如何使用 Windows 窗体计时器组件在指定的时间间隔内或当指定的时间间隔过去后执行任务。
计时器组件概述 - Windows Forms .NET Framework
了解在 Windows 窗体环境中运行的计时器组件,该组件会在固定的时间间隔触发事件。
Timer 组件 - Windows Forms .NET Framework
了解 Windows 窗体计时器组件的一般概念,该组件允许用户设置应用程序以响应定期事件。