Welcome! and rules
Joel on Software
Passing a reference to Form1 into Form2
I am using VB.NET and would like to access the controls on Form1 from within Form2. I have been told one way of doing this is to by passing a reference to Form1 into Form2 either in the constructor or in a public property. I understand the idea of constructors, but I am not sure how use a constructor to pass a reference of a form.
Create an app with two forms: Form1 and Form2.
I think that in the last couple of issues of Visual Studio magazine you will find an article on this very topic.
Fog Creek Home