T
Tom
I have an MDI application in VB.NET. The main MDI window has a status
bar, and menu bar. Child MDI windows are opened via the menu on the
main MDI window.
Now, what I want to do is add code to the main MDI window so that,
every 'xxx' amount of minutes, it goes out and checks a database for
some information. Based on that info, it will update some panels on the
status bar. What is the best way to accomplish this, while still
leaving the MDI child windows running at peak efficiency? I know I
could just drop a timer onto the main MDI window, and set that to the
appropriate number of seconds; however, I don't know what effect
(performance wise) that would have on the other child MDI window
processing... Would it be better to use a delegate, or thread for this?
Which way would be the most efficient? Or is the easier way (i.e. a
timer) just a good?
Thanks.
Chimp (Tom)
--
bar, and menu bar. Child MDI windows are opened via the menu on the
main MDI window.
Now, what I want to do is add code to the main MDI window so that,
every 'xxx' amount of minutes, it goes out and checks a database for
some information. Based on that info, it will update some panels on the
status bar. What is the best way to accomplish this, while still
leaving the MDI child windows running at peak efficiency? I know I
could just drop a timer onto the main MDI window, and set that to the
appropriate number of seconds; however, I don't know what effect
(performance wise) that would have on the other child MDI window
processing... Would it be better to use a delegate, or thread for this?
Which way would be the most efficient? Or is the easier way (i.e. a
timer) just a good?
Thanks.
Chimp (Tom)
--