Timer update image

This is a discussion on Timer update image within the C# Programming forums, part of the General Programming Boards category; Hello
Over to the next problem; how do i update the image one time per second?
The timer is working, ...

Timer update image

Hello
Over to the next problem; how do i update the image one time per second?

The timer is working, but when i complie it says to me that i have to use EventHandler() instead of directly MainBox.Refresh(), so how do i do one void/subclass or something that i could use "MainBox.Refresh()" in?