E
Eregnon
Guest
I have a treeview control on one of my forms. The control get's dynamically built from a data file each time the form is entered. It has many nodes, and this takes awhile.
The control is actually fairly static - it represents a healthcare claim form - and it occured to me that if I could somehow save the completed treeview as a class I could just drop it in whenever I needed it.
Is there any way I can take this control that has been created at runtime and save it as a class? Would I have to somehow have the program write out the vb code to create the class?
I suppose I coulde create it manually, but being fairly lazy (as all good programmers are ) I'd rather do it the easy way if there is one.
The control is actually fairly static - it represents a healthcare claim form - and it occured to me that if I could somehow save the completed treeview as a class I could just drop it in whenever I needed it.
Is there any way I can take this control that has been created at runtime and save it as a class? Would I have to somehow have the program write out the vb code to create the class?
I suppose I coulde create it manually, but being fairly lazy (as all good programmers are ) I'd rather do it the easy way if there is one.