Home > Net >  C # multithreaded window procedure after the window loses focus what would happen?
C # multithreaded window procedure after the window loses focus what would happen?

Time:11-04

I have a program that is very strange in the window loses focus after suddenly soared to nearly 100% CPU utilization, I confirm that the software didn't go to detect loses focus,
Windows server 2012, c #/VS2010, USES two simple devexpress interface controls,

CodePudding user response:

Threads in the operation of the UI code, you didn't handle event, but controls can ah, maybe it's a thread to fight with you,

CodePudding user response:

Is there a timer, multithreading, window drawing, check out these places,

CodePudding user response:

No context, no debug diagnosis, no answer

We can only be the same as the old Chinese medicine, ask, cut in the

1. Take off your mouth multithreading, problems still exist no,

To answer the first, and then I continued down the diagnosis
  •  Tags:  
  • C#
  • Related