Timer Members
Implements a timer that raises an event at user-defined intervals. This timer is optimized for use in Windows Forms applications and must be used in a window.
The following tables list the members exposed by the Timer type.
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| Container | Gets the IContainer that contains the Component.(Inherited from Component.) |
| Enabled | Gets or sets whether the timer is running. |
| Interval | Gets or sets the time, in milliseconds, between timer ticks. |
| Site | Gets or sets the ISite of the Component.(Inherited from Component.) |
| Tag | Gets or sets an arbitrary string representing some type of user state. |
| Name | Description | |
|---|---|---|
| CanRaiseEvents | Gets a value indicating whether the component can raise an event.(Inherited from Component.) |
| DesignMode | Gets a value that indicates whether the Component is currently in design mode.(Inherited from Component.) |
| Events | Gets the list of event handlers that are attached to this Component.(Inherited from Component.) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
| Dispose | Overloaded. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| Start | Starts the timer. |
| Stop | Stops the timer. |
| ToString | Overridden. Returns a string that represents the Timer. |
| Name | Description | |
|---|---|---|
| Dispose | Overloaded. Overridden. |
| Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) |
| GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.) |
| MemberwiseClone | Overloaded. (Inherited from MarshalByRefObject.) |
| OnTick | Raises the Tick event. |