all groups > visual studio .net general > september 2005 >
You're in the

visual studio .net general

group:

New() in VS2005



New() in VS2005 michael
9/30/2005 5:44:01 AM
visual studio .net general: So, I figured out that all the code produced by the IDE's desiger has been
moved to a seperate file (xxx.Designer.vb). I expected most of the
initialization code to be there, however, there was a noticable absence of
the new() method.

Where did new() go?

If I need to add a new(xx,xx,xx), where should it be placed? the Form.vb or
the Form.Designer.vb or somewhere else altogether?


--
Re: New() in VS2005 Patrice
9/30/2005 6:06:41 PM
The compiler likely automatically adds one so that you have to add one only
if you really intend to perform something.

Add it to your code. The Designer file should be left unchanged...

--
Patrice

"michael" <howlinghound@nospam.nospam> a écrit dans le message de
news:16510ABE-7C09-48D7-958A-7BB12FFC61F2@microsoft.com...
[quoted text, click to view]

Re: New() in VS2005 michael
9/30/2005 7:35:01 PM
Thanks Patrice. Will place new() in the Form.vb files.

--
Michael Hockstein


[quoted text, click to view]
AddThis Social Bookmark Button