UncleRonin
Well-known member
I have come across something very strange. I have an MDI app with a bunch of children. On one particular form I have a timer which triggers every minute. For some reason, whenever I swop back to this form (I never close any of these forms so they are always running) the timer triggers! What the hell! It doesn't matter what interval or what order I do things, the minute the form is made visible it triggers the timer. What possible reasons could there be for this?
EDIT: Okay, I have found out that this only happens if in the Designer the timer's Enabled property is set to True. If it isn't and is enabled in the load method instead then this issue goes away. Weird. i dunno about anyone else but do you also find that sometimes you have to rebuild your entire project in order to force VS to compile changes that you have made?
EDIT: Okay, I have found out that this only happens if in the Designer the timer's Enabled property is set to True. If it isn't and is enabled in the load method instead then this issue goes away. Weird. i dunno about anyone else but do you also find that sometimes you have to rebuild your entire project in order to force VS to compile changes that you have made?