I want to point with the mouse on an area in my application and know the name of the UserControl.
"We continue to support and innovate in Windows Forms runtime," said Microsoft's Igor Velikorossov last month in announcing what's new for WinForms in . NET 6. He's a software engineer on the dev team for the 19-year-old product, a free and open-source graphical (GUI) class library included as a part of .
WinForms won't be deprecated until Win32 is ... which could be quite sometime! WPF on the other hand has few direct dependencies on Win32 so could potentially form the basis of a "fresh start" UI layer on a future version of windows.
Hawkeye (seems moved to github) can do that and more. You can see all the properties, fields, events and methods of a control. You can also edit the properties during runtime.
I recommend WinSpy++ because its much easier to get hold of then the original Spy++ which comes as part of the Windows SDK.
Just like Spy++ this only works at the Win32 level, of which WinForms is a thin/medium wrapper.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With