المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : CPU Load of a MDI-Child



C# Programming
12-08-2009, 04:41 AM
Hello,

I have an application running more MDI-Child windows.
Each MDI-Child has a graph line in it. Depending on CPU Load it may happen that the main application tells me "Application not responding" with 100% CPU Load.
Is it possible to monitor each MDI-Child's CPU and Memory Load?
I can use the PerformanceCounter for a Process and Threads. But how to determine the Process/Thread of the MDI-Child?
Or is there any possibility to stop an MDI-Child that does no longer respond?

Thank you