Changing label text property periodically
<p>I have a label. I need to change the text property every 3 seconds. Please let me know how to do this. I tried using timer, but my application is going into infinite loop. I do not want this to happen/ Any help will be appreciated!</p>

<pre><code>timer1.Interval = 5000; 
timer1.Enabled = true; 
timer1.Tick += new System.EventHandler (OnTimerEvent);

private void OnTimedEvent(object source, ElapsedEventArgs e) 
{ 
    refreshStatusBar();
}
</code></pre>
