Overview | Methods | This Package | All Packages
Creates a Timer control.
Syntax
public Timer()
public Timer( IContainer container )
Parameters
container
The Container object that holds the Timer.
Remarks
Creates an instance of the Timer control. In the second version of this constructor, specifying a container for the Timer control causes the control to be disposed of when the control's container is disposed of.
Note If the Timer control's enabled property is set to true, the Timer control will not be released during garbage collection. Always pass a container object into the Timer control so that the container can dispose of the Timer control properly.