OK I don't know how to describe the problem in one sentence.
I have an application I've been working on that monitors hardware stats on multiple pc's..things like hard drive free space, memory usage, cpu utitilization, etc.
I am using custom user controls to show all these stats so that each computer's information is represented in a tabControl. I created a loop that loops through each computername in an array and grabs the info about that computer then adds it to a flowlayoutpanel.
The Problem:
each new userControl that is created represents a different server, and I need for the information inside that userControl to be polled for the server it represents every few seconds.
So if I make my usercontrol run on a loop to poll for information every few seconds then it never breaks out of itself so my "outer loop" can create the next userControl.
so I'm guessing I'm needing to know if I can create a new userControl, let it start doing it's thing, but allow the computer to keep on creating more userControls?
thanks
I have an application I've been working on that monitors hardware stats on multiple pc's..things like hard drive free space, memory usage, cpu utitilization, etc.
I am using custom user controls to show all these stats so that each computer's information is represented in a tabControl. I created a loop that loops through each computername in an array and grabs the info about that computer then adds it to a flowlayoutpanel.
The Problem:
each new userControl that is created represents a different server, and I need for the information inside that userControl to be polled for the server it represents every few seconds.
So if I make my usercontrol run on a loop to poll for information every few seconds then it never breaks out of itself so my "outer loop" can create the next userControl.
so I'm guessing I'm needing to know if I can create a new userControl, let it start doing it's thing, but allow the computer to keep on creating more userControls?
thanks