title: Accessing main form from timer event
body: <p>I am creating a </p>
  
  <pre><code>System.Timers.Timer aTimer = new System.Timers.Timer();
  </code></pre>
  
  <p>and want to access the main form, or Form1 from the </p>
  
  <pre><code>private static void OnTimedEvent(object source, ElapsedEventArgs e)
      {...}
  </code></pre>
  
  <p>event, how do I do this?  I can't find an example online, via google, that does this.  I am drawing some graphics and want to change them when the timer event fires.  I can't use the form timer as I want to port this code to something else and it won't be available.</p>
  
  <p>Thanks</p>