Jump to content
Xtreme .Net Talk

Tricky problem


Recommended Posts

Guest Eregnon
Posted

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 :D ) I'd rather do it the easy way if there is one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...