|
-
May 22nd, 2010, 09:35 AM
#3
Re: 9 Timers
I've seen various threads where people they were or suggested that someone use multiple Timers when there was really no need to use more than one. I guess that it might be possible to want several different things done multiple times on several different schedules, but not usually.
The thing is, I ALWAYS recommend against calling an event handler directly and I NEVER do it myself. It's just one of those things that good code doesn't do. Event handlers should handle events and that's it. If you have code that want executed from somewhere else then you should put it in its own method, which you can then call from the original event handler and from anywhere else too.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|