Archived

This topic is now archived and is closed to further replies.

Nanven

VB.NET: How do you load other forms?

Recommended Posts

Forms are just classes that use GDI+ to display something to the user.


Dim myForm As New Form2() ''Form2 is the name of the form class you want to show
myForm.Show()


Epolevne

Share this post


Link to post
Share on other sites
quote:
Original post by Epolevne
Forms are just classes that use GDI+ to display something to the user.

Most Windows Forms controls(including forms) are merely wrappers for their Win32 counterparts - I doubt many of them use GDI+ unless its for something special.



"To assert that the earth revolves around the sun is as erroneous as to claim that Jesus was not born of a virgin."
-- Cardinal Bellarmine

Share this post


Link to post
Share on other sites