title: C# WP7 singleton timer
body: <p>I have a singleton timer in my WP7 application however I have no idea how to get it to update a textblock everytime the timer ticks... Is there a way to get the event handler of the timer ticking and then update  the textbox with the correct time?</p>
  
  <p>Here is what I tried to use but wouldn't work:</p>
  
  <pre><code>public _1()
      {
          InitializeComponent();
          Singleton.TimerSingleton.Timer.Tick += new EventHandler(SingleTimer_Tick);
      }
  
      void SingleTimer_Tick(object sender)
      {
          textBlock1.Text = Singleton.TimerSingleton.TimeElapsed.TotalSeconds.ToString();
      }
  </code></pre>
  
  <p>Here is my Timer.cs SingleTon:</p>
  
  <p><a href="http://tech-fyi.net/code/timer.cs.txt" rel="nofollow noreferrer">http://tech-fyi.net/code/timer.cs.txt</a></p>