Interesting, I guess because I did not wrap the stream in a using it effectively kept it open for the lifetime of the application.
I am sure in other applications I have written I wrap the stream in the using statement and let the stream close once I have the image and I have not had problems - I will take more care to keep the stream open in the future !
Just to confirm the issue with the timers, I dropped a new timer on my form and simple update the application title bar in the handler:
private void timer1_Tick( object sender, EventArgs e )
{
this.Text = DateTime.Now.ToLongTimeString();
timer1.Enabled = true;
}
So really simple code which executes up until I read the image from the embedded resource then stops updating. Even if I take the code in the handler out, the handler is not being called.
Andy