I am trying to create an extension to VS in which I can go through each form, identify the controls, and then find the property values such as height, width, color etc. I can get down to the CodeVariable2 object, get the CodeTypeRef, and
subsequently establish the control type OK by getting a list of the base classes and working through the list to establish the control type (Listbox, edit etc), (is there a better way?), but how can I get the property values of each object, so that I can use
this information to generate new versions of the code using the information gained.
↧