Can you create something similar to a Watch Window on a UserForm in VisualStudio?

  Kiến thức lập trình

Is is possible to create something similar to a Watch Window as a userform control in Visual Studio?
I know of the PropertyGrid, but that only shows limited information about an object.
When debugging, in the Watch window, you have the ability to expand objects and dig deeper and deeper.

I’m asking this to use in a CAD application (Autodesk Inventor).
For example a 3D model file is an object, underneath that object are modeling feaure objects, these features contain sketch objects, these sketch objects contain sketch entities etc..
By looking at such an object in the Watch Window in Visual Studio, you can drill down through all those objects, without having to create new watches.
So basically what I want is like an inspection tool for all kinds of objects during runtime.

Is something like this possible?

LEAVE A COMMENT