I'm not sure what Niya is on about, as the timer is not the one dealing with focus as far as I can see.

However, that's a method, so it would have to be called from somewhere, which kind of defeats the purpose. It would be better if the form itself was what called the method, at the moment that it got focus...or something like that, which is what an event handler would be for. The problem you will run into is that Focus, whatever the target, is a pretty lousy event to deal with. You might look at the Form.Shown event, the Form.Activated event, and one other that I can't think of at the moment. They all work best in certain situations, so you'd have to determine what event you really want this to happen for.