> I create the timer like this:
>
[quoted text clipped - 4 lines]
> StreamingTimer.Enabled = true;
> StreamingTimer.Start();
Setting "Enabled" to "true" is synonymous with calling "Start()". It's
redundant to do both.
> To dispose of the timer, I did this:
> StreamingTimer.Elapsed -= new
> System.Timers.ElapsedEventHandler(StreamingProc);
> StreamingTimer.Dispose();
>
> Is that the correct way to close (dispose) a System.Timers.Timer?
Seems fine to me. There's not actually any need to remove your event
handler, but it's not harmful to do so.
> Do I have to deal with closing any thread in relation to the
> System.Timers.Timer?
No. You didn't create any thread, so there's no need for you to
close/dispose any thread.
Pete