2 Replies - 3052 Views - Last Post: 07 July 2011 - 08:43 AM Rate Topic: -----

#1 JizzaDaMan  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 139
  • Joined: 23-May 11

creating new form instance

Posted 07 July 2011 - 08:34 AM

I have a form with a button. I want the button to show a new instance of the same form but I don't know what to do.
I'm working in vb.net 2010
Is This A Good Question/Topic? 0
  • +

Replies To: creating new form instance

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9568
  • View blog
  • Posts: 36,222
  • Joined: 12-June 08

Re: creating new form instance

Posted 07 July 2011 - 08:40 AM

Why was this posted in the Ruby forum?

For the .NET answer - just create a new object of the type of your form and do a 'show' or 'show dialog'.

dim foo as new Form1
foo.show()

Was This Post Helpful? 0
  • +
  • -

#3 JizzaDaMan  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 139
  • Joined: 23-May 11

Re: creating new form instance

Posted 07 July 2011 - 08:43 AM

thanks i thought it was the vb.net forum
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1