I have a form in VB2008 with 3 panels, each containing panels. How can I copy the formatting to create similar forms to it?
Printable View
I have a form in VB2008 with 3 panels, each containing panels. How can I copy the formatting to create similar forms to it?
You can either select all the control using Ctl+A and Paste in another form or Copy the initialize component and paste it another form
Thanks. Where do I find the initialize component? Please spell out. Thank you.
Open the
and there you will seeCode:FormName.Designer.vb
Copy paste in the same location in the destination formCode:Private Sub InitializeComponent()
This might not be the path you want but if you are reusing stuff consider creating a template of the form. The wizard for this in the IDE is under file menu, export template, follow the steps.