There is a very useful tool In Visual Studio tools. The name is "SPY++". This tool can spy System Messages, Process Information and Class Name and so on from application at runtime. But we also found this tool is not fit for DONET applications, we need get more information. So the “SPY#” is designed for DONET Framework. It can get all controls' properties and the pleasant thing is that you can also modify it at the runtime.
Select one process to inject, and then will pop a new dialog to show properties of controls.
The first button will highlight control which you selected in the tree view in 3 seconds.
The second button is used to capture control by mouse in 3 seconds.
NOTE: “SPY#” is writing by WPF, so you need install DONET Framework 3.5 SP1 or last version. And "SPY#" only support Windows XP system now.