What’s difference between form and new form VB.NET

I have form1 and form2, in form1, I want call form2.

1:

Dim f as Form2=new form2()
f.show()

2:

form2.show

2 option can run complete, what difference of 2 command ? Should I use 1 or 2 ?


Source: forms

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.