How to duplicate a form completely and appears on newest form ?

Hello i have a question about Form1 see above to understand problem,

I have make a form1 and i add some button's pictureboxs panels etc, but now i want that, when a button clicked then same some designs to be changed and new panels have new design which i will change latter after the answer, so every button have thier new panel design and when click previous button then return the design the own button.


I added some button's left side by vertical style, and i just added a single panel (details area) i am confused here while i added there 5 button's then i added only one panel one button is home i designed this, but now i want hide home button panel view and show the next button details in the panel and when i click home button then it should be return has own details ???

I know my english is bad but sorry for that if you have problem to understand i hope you can understand it

1 answer

  • answered 2018-11-07 21:29 Mary

    This will create another instance of Form1 but I am guessing your 1st Form1 is the default instance.

    Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
            Dim frm As New Form1()
    End Sub