I am writing an application that I am working on a skinning feature to it. What I want to do is allow a user to create an XML document that my code will parse through and set properties of the controls on a form. This is the easy part. Where I am stuck is giving the user a way to find out the control names/types with minimal coding/documentation effort.
My idea was to have a tool tip that when they moused over a control, it got the name of the control and type to show. Anyone know of a way to do this? I was thinking something like how Spy++ can find control, but I want to get the .NET properties also.
If someone has another idea I’m open ears.
Thanks Much.
You’ll need to set up some ToolTip objects (one for each field), looping through all of the controls in your form to obtain the text for each tooltip.
http://msdn.microsoft.com/en-us/library/system.windows.forms.tooltip.aspx