why doesn't the function run within this timer?
<p>Why wouldn't the <code>Vote();</code> function run wihtin this timer?</p>

<p>The message box one works but vote one doesn't</p>

<pre><code>public void Timer()
{
        var timespan = new TimeSpan(0, 0, 20);
        var timer = new System.Timers.Timer(timespan.TotalMilliseconds);
        timer.Elapsed += (o, e) =&gt;
        {
            MessageBox.Show("Worked");
            Vote();
        };
        timer.Start();
}
</code></pre>

<p>Vote is above this function within this code, Thanks, Oliver.</p>
