Default form initialization in vb.net

  • Thread starter Thread starter kevin
  • Start date Start date
K

kevin

I found out today that vb.net 2005 will support 'Form1.Show()' without
having to initialize the Form1 object as with the case
in C# or the current version on vb.net.

Isn't this going to be a step backwards for vb.net?

Wouldn't this pose a problem?

Any Thoughts?


Kill me now if this has been discussed before.
 
When is the default instance created?
When the app fires up or when you actually call a property or method on
the particular form object?
 
When is the default instance created?
When the app fires up or when you actually call a property or method on
the particular form object?

IIRC the form gets instantiated when the default instance is accessed for
the first time.
 
Back
Top