* "Stephen" <St*****@johnstontrading.com> scripsit:
Im new to VB.net....Im having a problem understandign how a
constructor relates to the base form and a class.
What is the function on the constructor ..does it accept variables
passed to it from the form?
Please don't post in HTML format.
The constructor gets called when the instance of the class is created.
It contains "initialization" code. First, the base class's constructor
will be called (you can do this explicitly by calling 'MyBase.New()'),
then you can execute your own initialization code. You can parameterize
the constructor to privide data to the initialization process.
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>