M
Mattias Sjögren
1. in a MDI app if you have multiple child forms, does each child
It keeps running.
You may have to stop the thread (if it's not marked as a background
thread). You probably don't have to stop the timer, but it certainly
doesn't hurt doing so.
Mattias
form run in its own thread ? Eg do you get error trying to update one
control on form1 from form 2
No
2. if you have a timer control running on a childform, and you either
a. minimize or
b. hide the form or
c. the form is no longer the currently selected form ,
does the timer keep running or does it stop ?
It keeps running.
3. if you have a timer or a thread running on a child form, and you
close the form or end the application, do you have to stop the thread
or the timer beforehand or does .net cleanup and sort things for you ?
You may have to stop the thread (if it's not marked as a background
thread). You probably don't have to stop the timer, but it certainly
doesn't hurt doing so.
Mattias