Wednesday, 15 April 2015

vb.net - How do I copy a control between forms and still maintain child controls? -


Assuming I have a tabstrip control, and I have two tabs : With a WebBrowser , and with a textbox . I want to copy it from another form , so that dock on that form , but I do not can .

Does anyone have to do this?

In the form you want to try to copy the control:

  New tab control in form of slow taxi TC = new form 1 (). Tab control m Control. Adding (TC)   

Tab attribute should be copied in other form with all the properties.

No comments:

Post a Comment