In my software course, each time we submit an assignment, we have to include a document with the starting properties of each object in a form.
E.g.
TextBox1
Location: 241, 115
Name: TextBox1
Size: 100, 20
TabIndex: 0
It’s a real pain to scroll through the properties viewer and copy and paste each customised value for 30+ objects on a form… I was wondering if there’d be an easy piece of code or way about getting an (at least partially) automated printout/view of all the properties of the objects.
Was thinking some sort of private sub I could past into the bottom of the program and run on load, that gets all objects, and outputs the non-default properties to a report or something? Basically any ideas on how I could do this?
Any help’d be great!
Why not look in the
InitializeComponentMethod, you should be able to cut and paste what you need from there.