ZylTimer.NET

Timer Members

Timer overview

Public Instance Constructors

Timer Overloaded. Initializes a new instance of the Timer class.

Public Instance Properties

Container (inherited from Component)Gets the IContainer that contains the Component.
Cycled When this property is true, then the OnTimer event will be fired periodically, otherwise the event will be fired only once.
Enabled Enables (starts) or disables (stops) the timer.
Interval The time interval in milliseconds. The OnTick event is fired repeatedly after this measured interval.
IsPaused Indicates if the timer is paused or not.
Priority Priority of the timer thread.
RepeatCount Specifies how many times the OnTimer event will be fired. When this property is 0, then the event will be fired continually.
Site (inherited from Component)Gets or sets the ISite of the Component.

Public Instance Methods

CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component)Overloaded. Releases all resources used by the Component.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
Start Starts the timer. (Enabled = true)
Stop Stops the timer. (Enabled = false)
ToString (inherited from Component)Returns a String containing the name of the Component, if any. This method should not be overridden.

Public Instance Events

Disposed (inherited from Component)Occurs when the component is disposed by a call to the Dispose method.
Tick Occures when the interval is expired.

Protected Instance Properties

CanRaiseEvents (inherited from Component)Gets a value indicating whether the component can raise an event.
DesignMode (inherited from Component)Gets a value that indicates whether the Component is currently in design mode.
Events (inherited from Component)Gets the list of event handlers that are attached to this Component.

Protected Instance Methods

DisposeOverloaded. Clean up any resources being used.
Finalize Destructor.
GetService (inherited from Component)Returns an object that represents a service provided by the Component or by its Container.
MemberwiseClone (inherited from MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object)Overloaded. Creates a shallow copy of the current Object.
OnTick Raises the Tick event.

See Also

Timer Class | ZylTimer Namespace